struct

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)
Source
new(summary : String | Nil = nil, description : String | Nil = nil, ref : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

add(method, operation)
Source
delete
Source
description
Source
head
Source
options
Source
patch
Source
post
Source
summary
Source
trace
Source