struct

Swagger::Objects::Operation

Inherits JSON::Serializable < Struct < Value < Object

Operation Object

See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#operationObject

Constructors

new(pull : JSON::PullParser)
Source
new(responses : Hash(String, Response), summary : String | Nil = nil, description : String | Nil = nil, tags : Array(String) | Nil = nil, parameters : Array(Parameter) | Nil = nil, request_body : RequestBody | Nil = nil, deprecated : Bool = false, security : Array(Hash(String, Array(String))) | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Class methods

from(action : Action, controller_name : String | Nil = nil, security : Hash(String, Array(String)) | Nil = nil)
Source

Instance methods

deprecated
Source
description
Source
external_docs
Source
operation_id
Source
parameters
Source
request_body
Source
responses

List of possible responses as they are returned from executing this operation.

Source
security
Source
servers

TODO: Add instance vars to initialize

Source
summary
Source
tags
Source