Class: GrapeOpenapi3::Config
- Inherits:
-
Struct
- Object
- Struct
- GrapeOpenapi3::Config
- Defined in:
- lib/grape_openapi3/config.rb
Overview
Configuration object passed through the document build.
schema_name_separator: joins namespace segments when two entities share the
same short name (e.g. V2::Mentors::MenteeResponse vs V2::Kids::MenteeResponse
become "Mentors_MenteeResponse" / "Kids_MenteeResponse"). Default "_".
Instance Attribute Summary collapse
-
#info ⇒ Object
Returns the value of attribute info.
-
#schema_name_separator ⇒ Object
Returns the value of attribute schema_name_separator.
-
#security ⇒ Object
Returns the value of attribute security.
-
#security_schemes ⇒ Object
Returns the value of attribute security_schemes.
-
#servers ⇒ Object
Returns the value of attribute servers.
-
#tags ⇒ Object
Returns the value of attribute tags.
Instance Attribute Details
#info ⇒ Object
Returns the value of attribute info
9 10 11 |
# File 'lib/grape_openapi3/config.rb', line 9 def info @info end |
#schema_name_separator ⇒ Object
Returns the value of attribute schema_name_separator
9 10 11 |
# File 'lib/grape_openapi3/config.rb', line 9 def schema_name_separator @schema_name_separator end |
#security ⇒ Object
Returns the value of attribute security
9 10 11 |
# File 'lib/grape_openapi3/config.rb', line 9 def security @security end |
#security_schemes ⇒ Object
Returns the value of attribute security_schemes
9 10 11 |
# File 'lib/grape_openapi3/config.rb', line 9 def security_schemes @security_schemes end |
#servers ⇒ Object
Returns the value of attribute servers
9 10 11 |
# File 'lib/grape_openapi3/config.rb', line 9 def servers @servers end |
#tags ⇒ Object
Returns the value of attribute tags
9 10 11 |
# File 'lib/grape_openapi3/config.rb', line 9 def @tags end |