class Open::Api::Response
- Open::Api::Response
- Reference
- Object
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
open-api/response.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(description : Nil | String, content : Nil | Hash(String, Open::Api::MediaType))
- .new(pull : JSON::PullParser)
- .new(description : Nil | String)
Instance Method Summary
- #content : Hash(String, Open::Api::MediaType) | Nil
- #content=(content : Hash(String, Open::Api::MediaType) | Nil)
- #description : String | Nil
- #description=(description : String | Nil)
- #headers : Hash(String, Open::Api::Header)
- #headers=(headers : Hash(String, Open::Api::Header))
Constructor Detail
def self.new(description : Nil | String, content : Nil | Hash(String, Open::Api::MediaType))
#