struct Swagger::Objects::RequestBody
- Swagger::Objects::RequestBody
- Struct
- Value
- Object
Overview
Request Body Object
See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#requestBodyObject
Included Modules
- JSON::Serializable
Defined in:
swagger/objects/request_body.crConstructors
- .new(pull : JSON::PullParser)
- .new(description : String? = nil, content : Hash(String, MediaType)? = nil, required : Bool = false, ref : String? = nil)
Instance Method Summary
Constructor Detail
def self.new(description : String? = nil, content : Hash(String, MediaType)? = nil, required : Bool = false, ref : String? = nil)
#