Class: Eazypi::SecurityScheme
- Inherits:
-
Object
- Object
- Eazypi::SecurityScheme
- Includes:
- SpecObject
- Defined in:
- lib/eazypi/security_scheme.rb
Overview
OpenAPI spec SecurityScheme
Instance Method Summary collapse
-
#to_openapi_spec ⇒ Object
spec_attribute :flows # Not supported yet spec_attribute :open_id_connect_url # Not supported yet.
Methods included from SpecObject
Instance Method Details
#to_openapi_spec ⇒ Object
spec_attribute :flows # Not supported yet spec_attribute :open_id_connect_url # Not supported yet
20 21 22 23 24 25 26 27 28 29 |
# File 'lib/eazypi/security_scheme.rb', line 20 def to_openapi_spec { "type" => type, "description" => description, "name" => name, "in" => api_key_in, "schema" => schema, "bearerFormat" => bearer_format }.compact end |