Swagger::Objects::PathItem
Inherits JSON::Serializable < Struct < Value < Object
Path Item Object
See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#pathItemObject
Constants
METHODS = ["get", "put", "post", "delete", "options", "head", "patch", "trace"] of ::String
Constructors
new(pull : JSON::PullParser)
Sourcenew(summary : String | Nil = nil, description : String | Nil = nil, ref : String | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
add(method, operation)
Sourcedelete
Sourcedescription
Sourceget
Sourcehead
Sourceoptions
Sourcepatch
Sourcepost
Sourceput
Sourceref
Sourcesummary
Sourcetrace
Source