code: def test_response_description_config(app, client):
      app.config["SUCCESS_DESCRIPTION"] = "Success"
      app.config["NOT_FOUND_DESCRIPTION"] = "Egg not found"
  
      @app.get("/foo")
      @app.input(Foo)  # 200
      def only_body_schema(foo):
          pass
  
      @app.get("/bar")
      @app.output(Foo, status_code=201)
      def create():
          pass
  
      @app.get("/baz")
      @app.output(EmptySchema)
      def no_schema():
          pass
  
      @app.get("/spam")
      @app.output(Foo, status_code=206)
      def spam():
          pass
  
      @app.get("/eggs/<int:id>")
      def eggs():
          pass
  
      rv = client.get("/openapi.json")
      assert rv.status_code == 200
      validate_spec(rv.json)
      assert (
          rv.json["paths"]["/foo"]["get"]["responses"]["200"][
              "description"
          ]
          == "Success"
      )
      assert (
          rv.json["paths"]["/bar"]["get"]["responses"]["201"][
              "description"
          ]
          == "Success"
      )
      assert (
          rv.json["paths"]["/baz"]["get"]["responses"]["200"][
              "description"
          ]
          == "Success"
      )
      assert (
          rv.json["paths"]["/spam"]["get"]["responses"]["206"][
              "description"
          ]
          == "Success"
      )
      assert (
          rv.json["paths"]["/eggs/{id}"]["get"]["responses"]["404"][
              "description"
          ]
          == "Egg not found"
      )
  
file_path: apiflask/tests/test_settings_response_customization.py
imports: import pytest
  from openapi_spec_validator import validate_spec
  from .schemas import Foo
  from .schemas import HTTPError
  from .schemas import ValidationError
  from apiflask.schemas import EmptySchema
  from apiflask.schemas import http_error_schema
  from apiflask.security import HTTPBasicAuth
label_desc: Use image node_id 1 for calling a global function with example usage: test_response_description_config(app, client) without return types