struct Swagger::Objects::PathItem
- Swagger::Objects::PathItem
- Struct
- Value
- Object
Overview
Path Item Object
See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#pathItemObject
Included Modules
- JSON::Serializable
Defined in:
swagger/objects/path_item.crConstant Summary
-
METHODS =
["get", "put", "post", "delete", "options", "head", "patch", "trace"] of ::String
Constructors
- .new(pull : JSON::PullParser)
- .new(summary : String | Nil = nil, description : String | Nil = nil, ref : String | Nil = nil)
Instance Method Summary
- #add(method, operation)
- #delete : Objects::Operation | Nil
- #description : String | Nil
- #get : Objects::Operation | Nil
- #head : Objects::Operation | Nil
- #options : Objects::Operation | Nil
- #patch : Objects::Operation | Nil
- #post : Objects::Operation | Nil
- #put : Objects::Operation | Nil
- #ref : String | Nil
- #summary : String | Nil
- #trace : Objects::Operation | Nil
Constructor Detail
def self.new(summary : String | Nil = nil, description : String | Nil = nil, ref : String | Nil = nil)
#