class Open::Api::OperationItem
- Open::Api::OperationItem
- Reference
- Object
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
open-api/operation_item.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(summary : String, description : String | Nil = nil, tags : Array(String) = Array(String).new, responses : Hash(Int32, Response) = Hash(Int32, Response).new)
Instance Method Summary
- #description : String | Nil
- #description=(description : String | Nil)
- #operation_id : String | Nil
- #operation_id=(operation_id : String | Nil)
- #parameters : Array(Parameter | Ref)
- #parameters=(parameters : Array(Parameter | Ref))
- #responses : Hash(Int32, Response)
- #responses=(responses : Hash(Int32, Response))
- #summary : String
- #summary=(summary : String)
- #tags : Array(String)
- #tags=(tags : Array(String))
Constructor Detail
def self.new(summary : String, description : String | Nil = nil, tags : Array(String) = Array(String).new, responses : Hash(Int32, Response) = Hash(Int32, Response).new)
#