struct

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)
Source
new(description : String | Nil = nil, content : Hash(String, MediaType) | Nil = nil, required : Bool = false, ref : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

content
Source
description
Source
required
Source