Class: OAPI::OpenAPI::V30::Definition

Inherits:
Types::Object
  • Object
show all
Defined in:
lib/oapi/open_api/v30/definition.rb

Instance Method Summary collapse

Instance Method Details

#to_openapiObject



16
# File 'lib/oapi/open_api/v30/definition.rb', line 16

def to_openapi = OAPI::OpenAPI::V30::Serializers::JSON.serialize(self)

#to_rubyObject



17
# File 'lib/oapi/open_api/v30/definition.rb', line 17

def to_ruby = OAPI::OpenAPI::V30::Serializers::Ruby.serialize(self)