code: def test_lowercase_token_scheme_value(app, client):
      auth = HTTPTokenAuth(scheme="bearer")
  
      @app.route("/")
      @app.auth_required(auth)
      def index():
          pass
  
      rv = client.get("/openapi.json")
      assert rv.status_code == 200
      validate_spec(rv.json)
  
      assert "BearerAuth" in rv.json["components"]["securitySchemes"]
      assert "BearerAuth" in rv.json["paths"]["/"]["get"]["security"][0]
  
file_path: apiflask/tests/test_decorator_auth_required.py
imports: from flask.views import MethodView
  from openapi_spec_validator import validate_spec
  from apiflask import APIBlueprint
  from apiflask.security import HTTPBasicAuth
  from apiflask.security import HTTPTokenAuth
label_desc: Use image node_id 4 for calling a global function with example usage: test_lowercase_token_scheme_value(app, client) without return types