code: def test_auto_200_response(app, client):
      @app.get("/foo")
      def bare():
          pass
  
      @app.get("/bar")
      @app.input(Foo)
      def only_input():
          pass
  
      @app.get("/baz")
      @app.doc(summary="some summary")
      def only_doc():
          pass
  
      @app.get("/eggs")
      @app.output(Foo, status_code=204)
      def output_204():
          pass
  
      @app.get("/spam")
      @app.doc(responses={204: "empty"})
      def doc_responses():
          pass
  
      rv = client.get("/openapi.json")
      assert rv.status_code == 200
      validate_spec(rv.json)
      assert "200" in rv.json["paths"]["/foo"]["get"]["responses"]
      assert "200" in rv.json["paths"]["/bar"]["get"]["responses"]
      assert "200" in rv.json["paths"]["/baz"]["get"]["responses"]
      assert "200" not in rv.json["paths"]["/eggs"]["get"]["responses"]
      assert "200" not in rv.json["paths"]["/spam"]["get"]["responses"]
      assert (
          rv.json["paths"]["/spam"]["get"]["responses"]["204"][
              "description"
          ]
          == "empty"
      )
  
imports: import json
  import pytest
  from flask import request
  from openapi_spec_validator import validate_spec
  from .schemas import Bar
  from .schemas import Baz
  from .schemas import Foo
  from apiflask import APIBlueprint
  from apiflask import Schema
  from apiflask.commands import spec_command
  from apiflask.fields import Integer
label_desc: Use image node_id 13 for calling a global function with example usage: test_auto_200_response(app, client) without return types