Class: Spikard::OpenApiConfig
- Inherits:
-
Object
- Object
- Spikard::OpenApiConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#contact ⇒ ContactInfo?
Returns the value of attribute contact.
-
#description ⇒ String?
Returns the value of attribute description.
-
#enabled ⇒ Boolean?
Returns the value of attribute enabled.
-
#license ⇒ LicenseInfo?
Returns the value of attribute license.
-
#openapi_json_path ⇒ String?
Returns the value of attribute openapi_json_path.
-
#redoc_path ⇒ String?
Returns the value of attribute redoc_path.
-
#security_schemes ⇒ Hash[String, SecuritySchemeInfo]?
Returns the value of attribute security_schemes.
-
#servers ⇒ Array[ServerInfo]?
Returns the value of attribute servers.
-
#swagger_ui_path ⇒ String?
Returns the value of attribute swagger_ui_path.
-
#title ⇒ String?
Returns the value of attribute title.
-
#version ⇒ String?
Returns the value of attribute version.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ OpenApiConfig
constructor
A new instance of OpenApiConfig.
Constructor Details
#initialize ⇒ OpenApiConfig
Returns a new instance of OpenApiConfig.
187 |
# File 'sig/types.rbs', line 187
def initialize: (?enabled: bool, ?title: String, ?version: String, ?description: String, ?swagger_ui_path: String, ?redoc_path: String, ?openapi_json_path: String, ?contact: ContactInfo, ?license: LicenseInfo, ?servers: Array[ServerInfo], ?security_schemes: Hash[String, SecuritySchemeInfo]) -> void
|
Instance Attribute Details
#contact ⇒ ContactInfo?
Returns the value of attribute contact.
182 183 184 |
# File 'sig/types.rbs', line 182 def contact @contact end |
#description ⇒ String?
Returns the value of attribute description.
178 179 180 |
# File 'sig/types.rbs', line 178 def description @description end |
#enabled ⇒ Boolean?
Returns the value of attribute enabled.
175 176 177 |
# File 'sig/types.rbs', line 175 def enabled @enabled end |
#license ⇒ LicenseInfo?
Returns the value of attribute license.
183 184 185 |
# File 'sig/types.rbs', line 183 def license @license end |
#openapi_json_path ⇒ String?
Returns the value of attribute openapi_json_path.
181 182 183 |
# File 'sig/types.rbs', line 181 def openapi_json_path @openapi_json_path end |
#redoc_path ⇒ String?
Returns the value of attribute redoc_path.
180 181 182 |
# File 'sig/types.rbs', line 180 def redoc_path @redoc_path end |
#security_schemes ⇒ Hash[String, SecuritySchemeInfo]?
Returns the value of attribute security_schemes.
185 186 187 |
# File 'sig/types.rbs', line 185 def security_schemes @security_schemes end |
#servers ⇒ Array[ServerInfo]?
Returns the value of attribute servers.
184 185 186 |
# File 'sig/types.rbs', line 184 def servers @servers end |
#swagger_ui_path ⇒ String?
Returns the value of attribute swagger_ui_path.
179 180 181 |
# File 'sig/types.rbs', line 179 def swagger_ui_path @swagger_ui_path end |
#title ⇒ String?
Returns the value of attribute title.
176 177 178 |
# File 'sig/types.rbs', line 176 def title @title end |
#version ⇒ String?
Returns the value of attribute version.
177 178 179 |
# File 'sig/types.rbs', line 177 def version @version end |