class

Open::Api::Response

Inherits YAML::Serializable < JSON::Serializable < Reference < Object

Constructors

new(description : Nil | String, content : Nil | Hash(String, Open::Api::MediaType))
Source
new(description : Nil | String)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

content
Source
content=(content : Hash(String, Open::Api::MediaType) | Nil)
Source
description
Source
description=(description : String | Nil)
Source
headers
Source
headers=(headers : Hash(String, Open::Api::Header))
Source