Swagger::Objects::RequestBody
Inherits JSON::Serializable < Struct < Value < Object
Request Body Object
See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#requestBodyObject
Constructors
new(pull : JSON::PullParser)
Sourcenew(description : String | Nil = nil, content : Hash(String, MediaType) | Nil = nil, required : Bool = false, ref : String | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
content
Sourcedescription
Sourceref
Sourcerequired
Source