Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
open_api
v1.2.1
OpenAPI
Components
Contact
Document
Encoding
Example
ExternalDocumentation
Header
Info
License
Link
Map
MassAssignment
MediaType
OAuthFlow
OAuthFlows
Object
Operation
Parameter
PathItem
Reference
RequestBody
Response
Schema
SecurityScheme
Server
ServerVariable
Tag
Built with Crystal 1.9.2
2023-10-08 14:40:40 UTC
struct
OpenAPI::RequestBody
OpenAPI::RequestBody
Struct
Value
Object
Included Modules
JSON::Serializable
OpenAPI::Object
YAML::Serializable
Defined in:
open_api/request_body.cr
Constructors
.new
(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
.new
(pull : JSON::PullParser)
.new
(**args)
Instance Method Summary
#content
: Hash(String, MediaType)
#description
: String | Nil
#required
: Bool | Nil
Constructor methods inherited from module
OpenAPI::Object
new(*, __mass_assignable_attributes args : T) forall T
new
Constructor Detail
def self.
new
(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
#
def self.
new
(pull : JSON::PullParser)
#
def self.
new
(**args)
#
[
View source
]
Instance Method Detail
def
content
: Hash(String,
MediaType
)
#
def
description
: String | Nil
#
def
required
: Bool | Nil
#