struct OpenAPI::MediaType

Included Modules

Defined in:

open_api/media_type.cr

Constructors

Instance Method Summary

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 encoding : Hash(String, Encoding) | Nil #

def example : JSON::Any::Type #

def examples : Hash(String, Example | Reference) | Nil #

def schema : Schema | Reference | Nil #