Module: GrapeSwagger
- Defined in:
- lib/grape-swagger.rb,
lib/grape-swagger/errors.rb,
lib/grape-swagger/version.rb,
lib/grape-swagger/doc_methods.rb,
lib/grape-swagger/model_parsers.rb,
lib/grape-swagger/rake/oapi_tasks.rb,
lib/grape-swagger/doc_methods/headers.rb,
lib/grape-swagger/doc_methods/version.rb,
lib/grape-swagger/doc_methods/data_type.rb,
lib/grape-swagger/doc_methods/extensions.rb,
lib/grape-swagger/endpoint/params_parser.rb,
lib/grape-swagger/doc_methods/format_data.rb,
lib/grape-swagger/doc_methods/move_params.rb,
lib/grape-swagger/doc_methods/path_string.rb,
lib/grape-swagger/doc_methods/operation_id.rb,
lib/grape-swagger/doc_methods/parse_params.rb,
lib/grape-swagger/doc_methods/status_codes.rb,
lib/grape-swagger/doc_methods/optional_object.rb,
lib/grape-swagger/doc_methods/produces_consumes.rb,
lib/grape-swagger/doc_methods/tag_name_description.rb,
lib/grape-swagger/doc_methods/build_model_definition.rb
Defined Under Namespace
Modules: DocMethods, Endpoint, Errors, Rake Classes: ModelParsers
Constant Summary collapse
- FORMATTER_DEFAULTS =
{ json: Grape::Formatter::Json, jsonapi: Grape::Formatter::Json, serializable_hash: Grape::Formatter::SerializableHash, txt: Grape::Formatter::Txt, xml: Grape::Formatter::Xml }.freeze
- CONTENT_TYPE_DEFAULTS =
{ xml: 'application/xml', serializable_hash: 'application/json', json: 'application/json', binary: 'application/octet-stream', txt: 'text/plain' }.freeze
- VERSION =
'2.1.1'
Class Method Summary collapse
Class Method Details
.model_parsers ⇒ Object
16 17 18 |
# File 'lib/grape-swagger.rb', line 16 def model_parsers @model_parsers ||= GrapeSwagger::ModelParsers.new end |