Module: Scorpio::OpenAPI::V2::Operation::Configurables
- Included in:
- Scorpio::OpenAPI::V2::Operation
- Defined in:
- lib/scorpio/openapi/operation.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#request_media_type ⇒ Object
338 339 340 341 342 343 344 345 |
# File 'lib/scorpio/openapi/operation.rb', line 338 def request_media_type return @request_media_type if instance_variable_defined?(:@request_media_type) if key?('consumes') Request.best_media_type(consumes) else openapi_document.request_media_type end end |
#scheme ⇒ Object
326 327 328 329 |
# File 'lib/scorpio/openapi/operation.rb', line 326 def scheme return @scheme if instance_variable_defined?(:@scheme) openapi_document.scheme end |
Instance Method Details
#server ⇒ Object
330 331 332 |
# File 'lib/scorpio/openapi/operation.rb', line 330 def server nil end |
#server_variables ⇒ Object
333 334 335 |
# File 'lib/scorpio/openapi/operation.rb', line 333 def server_variables nil end |