struct OpenAPI::MediaType

Included Modules

Defined in:

open_api/media_type.cr

Constructors

Instance Method Summary

Constructor methods inherited from module OpenAPI::Object

new(**args) new

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new(pull : JSON::PullParser) #

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 #