struct OpenAPI::Operation

Included Modules

Defined in:

open_api/operation.cr

Constructors

Instance Method Summary

Constructor methods inherited from module OpenAPI::Object

new(*, __mass_assignable_attributes args : T) forall T new

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new(pull : JSON::PullParser) #

def self.new(**args) #

[View source]

Instance Method Detail

def callbacks : Hash(String, Hash(String, PathItem) | Reference) | Nil #

def deprecated : Bool | Nil #

def description : String | Nil #

def external_docs : ExternalDocumentation | Nil #

def operation_id : String | Nil #

def parameters : Array(Parameter | Reference) | Nil #

def request_body : RequestBody | Reference | Nil #

def responses : Hash(String, Response) #

def security : Array(Hash(String, Array(String))) | Nil #

def servers : Array(Server) | Nil #

def summary : String | Nil #

def tags : Array(String) | Nil #