Class: Jsapi::Meta::Response::Reference

Inherits:
Model::Reference show all
Defined in:
lib/jsapi/meta/response/reference.rb

Overview

Refers a reusable response.

Instance Method Summary collapse

Methods inherited from Model::Reference

component_type, #description, openapi_component_type, #ref, #reference?, #resolve, #resolve_lazily, #summary, #to_openapi

Methods inherited from Model::Base

#initialize, #inspect, #merge!, #reference?, #resolve

Methods included from Model::Attributes

#attributes_frozen?, #freeze_attributes, included

Constructor Details

This class inherits a constructor from Jsapi::Meta::Model::Base

Instance Method Details

#localeObject

:attr: locale Overrides the locale of the referred response.



11
# File 'lib/jsapi/meta/response/reference.rb', line 11

attribute :locale, Symbol

#nodocObject

:attr: nodoc Prevents the reference to be described in generated OpenAPI documents.



16
# File 'lib/jsapi/meta/response/reference.rb', line 16

attribute :nodoc, values: [true, false]