struct Open::Api::Security::Scheme::ApiKeyAuth
- Open::Api::Security::Scheme::ApiKeyAuth
- Open::Api::Security::Scheme
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
open-api/security.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(name : String, api_key_in : String = "header", description : String | Nil = nil)
Class Method Summary
Instance Method Summary
-
#api_key_in : String
REQUIRED.
-
#api_key_in=(api_key_in : String)
REQUIRED.
-
#name : String
REQUIRED.
-
#name=(name : String)
REQUIRED.
Instance methods inherited from struct Open::Api::Security::Scheme
auth_type : String
auth_type,
description : String | Nil
description,
description=(description : String | Nil)
description=
Constructor methods inherited from struct Open::Api::Security::Scheme
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Constructor Detail
Class Method Detail
Instance Method Detail
def api_key_in : String
#
REQUIRED. The location of the API key. Valid values are "query", "header" or "cookie".
def api_key_in=(api_key_in : String)
#
REQUIRED. The location of the API key. Valid values are "query", "header" or "cookie".