Open::Api::OperationItem
Inherits YAML::Serializable < JSON::Serializable < Reference < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(summary : String | Nil = nil, operation_id : String | Nil = nil, description : String | Nil = nil, tags : Array(String) = Array(String).new, parameters : Array(Parameter | Ref) = Array(Parameter | Ref).new, request_body : Open::Api::RequestBody | Open::Api::Ref | Nil = nil, responses : Responses = Responses.new, security : Array(Open::Api::Security::Requirement) | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
Sourcenew(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
SourceInstance methods
description
A verbose explanation of the operation behavior. CommonMark syntax MAY be used for rich text representation.
A verbose explanation of the operation behavior. CommonMark syntax MAY be used for rich text representation.
operation_id
Sourceparameters
Sourcerequest_body
Sourceresponses
REQUIRED. The list of possible responses as they are returned from executing this operation.
responses=(responses : Responses)
REQUIRED. The list of possible responses as they are returned from executing this operation.
A declaration of which security mechanisms can be used for this operation
tags
A list of tags for API documentation control. Tags can be used for logical grouping of operations by resources or any other qualifier.