struct Swagger::Objects::RequestBody

Overview

Request Body Object

See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#requestBodyObject

Included Modules

Defined in:

swagger/objects/request_body.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(description : String? = nil, content : Hash(String, MediaType)? = nil, required : Bool = false, ref : String? = nil) #

[View source]

Instance Method Detail

def content : Hash(String, MediaType)? #

[View source]
def description : String? #

[View source]
def ref : String? #

[View source]
def required : Bool #

[View source]