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, description : String? = nil, ref : String? = nil)
Instance Method Summary
- #add(method, operation)
- #delete : Objects::Operation?
- #description : String?
- #get : Objects::Operation?
- #head : Objects::Operation?
- #options : Objects::Operation?
- #patch : Objects::Operation?
- #post : Objects::Operation?
- #put : Objects::Operation?
- #ref : String?
- #summary : String?
- #trace : Objects::Operation?