├── .github ├── dependabot.yml └── workflows │ ├── ci.yml │ └── danger.yml ├── .gitignore ├── .rspec ├── .rubocop.yml ├── .rubocop_todo.yml ├── CHANGELOG.md ├── CONTRIBUTING.md ├── Dangerfile ├── Gemfile ├── LICENSE.txt ├── README.md ├── RELEASING.md ├── Rakefile ├── UPGRADING.md ├── example ├── api │ ├── endpoints.rb │ └── entities.rb ├── config.ru ├── example_requests.postman_collection ├── splines.png └── swagger-example.png ├── grape-swagger.gemspec ├── lib ├── grape-swagger.rb └── grape-swagger │ ├── doc_methods.rb │ ├── doc_methods │ ├── build_model_definition.rb │ ├── data_type.rb │ ├── extensions.rb │ ├── format_data.rb │ ├── move_params.rb │ ├── operation_id.rb │ ├── optional_object.rb │ ├── parse_params.rb │ ├── path_string.rb │ ├── produces_consumes.rb │ ├── status_codes.rb │ ├── tag_name_description.rb │ └── version.rb │ ├── endpoint.rb │ ├── errors.rb │ ├── instance.rb │ ├── model_parsers.rb │ ├── rake │ └── oapi_tasks.rb │ ├── request_param_parser_registry.rb │ ├── request_param_parsers │ ├── body.rb │ ├── headers.rb │ └── route.rb │ ├── token_owner_resolver.rb │ └── version.rb └── spec ├── issues ├── 267_nested_namespaces.rb ├── 403_versions_spec.rb ├── 427_entity_as_string_spec.rb ├── 430_entity_definitions_spec.rb ├── 532_allow_custom_format_spec.rb ├── 533_specify_status_code_spec.rb ├── 537_enum_values_spec.rb ├── 539_array_post_body_spec.rb ├── 542_array_of_type_in_post_body_spec.rb ├── 553_align_array_put_post_params_spec.rb ├── 572_array_post_body_spec.rb ├── 579_align_put_post_parameters_spec.rb ├── 582_file_response_spec.rb ├── 587_range_parameter_delimited_by_dash_spec.rb ├── 605_root_route_documentation_spec.rb ├── 650_params_array_spec.rb ├── 666_array_of_entities_in_request_body_spec.rb ├── 677_consumes_produces_add_swagger_documentation_options_spec.rb ├── 680_keep_204_error_schemas_spec.rb ├── 721_set_default_parameter_location_based_on_consumes_spec.rb ├── 751_deeply_nested_objects_spec.rb ├── 776_multiple_presents_spec.rb ├── 784_extensions_on_params_spec.rb ├── 809_utf8_routes_spec.rb ├── 832_array_hash_float_decimal_spec.rb ├── 847_route_param_options_spec.rb ├── 883_query_array_parameter_spec.rb ├── 901_extensions_on_body_params_spec.rb ├── 923_params_schema_definition_for_delete_action_spec.rb ├── 942_route_params.rb └── 962_polymorphic_entity_with_custom_documentation_spec.rb ├── lib ├── data_type_spec.rb ├── endpoint_spec.rb ├── extensions_spec.rb ├── format_data_spec.rb ├── model_parsers_spec.rb ├── move_params_spec.rb ├── oapi_tasks_spec.rb ├── operation_id_spec.rb ├── optional_object_spec.rb ├── parse_params_spec.rb ├── path_string_spec.rb ├── produces_consumes_spec.rb ├── request_param_parsers │ └── body_spec.rb ├── tag_name_description_spec.rb ├── token_owner_resolver_spec.rb └── version_spec.rb ├── spec_helper.rb ├── support ├── empty_model_parser.rb ├── grape_version.rb ├── mock_parser.rb ├── model_parsers │ ├── entity_parser.rb │ ├── mock_parser.rb │ └── representable_parser.rb ├── namespace_tags.rb ├── route_helper.rb └── the_paths_definitions.rb ├── swagger_v2 ├── api_documentation_spec.rb ├── api_swagger_v2_additional_properties_spec.rb ├── api_swagger_v2_body_definitions_spec.rb ├── api_swagger_v2_definitions-models_spec.rb ├── api_swagger_v2_detail_spec.rb ├── api_swagger_v2_extensions_spec.rb ├── api_swagger_v2_format-content_type_spec.rb ├── api_swagger_v2_global_configuration_spec.rb ├── api_swagger_v2_hash_and_array_spec.rb ├── api_swagger_v2_headers_spec.rb ├── api_swagger_v2_hide_documentation_path_spec.rb ├── api_swagger_v2_hide_param_spec.rb ├── api_swagger_v2_ignore_defaults_spec.rb ├── api_swagger_v2_mounted_spec.rb ├── api_swagger_v2_param_type_body_nested_spec.rb ├── api_swagger_v2_param_type_body_spec.rb ├── api_swagger_v2_param_type_spec.rb ├── api_swagger_v2_request_params_fix_spec.rb ├── api_swagger_v2_response_spec.rb ├── api_swagger_v2_response_with_examples_spec.rb ├── api_swagger_v2_response_with_headers_spec.rb ├── api_swagger_v2_response_with_models_and_primitive_types_spec.rb ├── api_swagger_v2_response_with_models_spec.rb ├── api_swagger_v2_response_with_root_spec.rb ├── api_swagger_v2_spec.rb ├── api_swagger_v2_status_codes_spec.rb ├── api_swagger_v2_type-format_spec.rb ├── boolean_params_spec.rb ├── default_api_spec.rb ├── deprecated_field_spec.rb ├── description_not_initialized_spec.rb ├── endpoint_versioned_path_spec.rb ├── errors_spec.rb ├── float_api_spec.rb ├── form_params_spec.rb ├── grape-swagger_spec.rb ├── guarded_endpoint_spec.rb ├── hide_api_spec.rb ├── host_spec.rb ├── inheritance_and_discriminator_spec.rb ├── mount_override_api_spec.rb ├── mounted_target_class_spec.rb ├── namespace_tags_prefix_spec.rb ├── namespace_tags_spec.rb ├── namespaced_api_spec.rb ├── nicknamed_api_spec.rb ├── operation_id_api_spec.rb ├── param_multi_type_spec.rb ├── param_type_spec.rb ├── param_values_spec.rb ├── params_array_collection_format_spec.rb ├── params_array_spec.rb ├── params_example_spec.rb ├── params_hash_spec.rb ├── params_nested_spec.rb ├── parent_less_namespace_spec.rb ├── reference_entity_spec.rb ├── security_requirement_spec.rb └── simple_mounted_api_spec.rb └── version_spec.rb /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/danger.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/.github/workflows/danger.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/.rspec -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.rubocop_todo.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/.rubocop_todo.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Dangerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/Dangerfile -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/README.md -------------------------------------------------------------------------------- /RELEASING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/RELEASING.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/Rakefile -------------------------------------------------------------------------------- /UPGRADING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/UPGRADING.md -------------------------------------------------------------------------------- /example/api/endpoints.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/example/api/endpoints.rb -------------------------------------------------------------------------------- /example/api/entities.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/example/api/entities.rb -------------------------------------------------------------------------------- /example/config.ru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/example/config.ru -------------------------------------------------------------------------------- /example/example_requests.postman_collection: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/example/example_requests.postman_collection -------------------------------------------------------------------------------- /example/splines.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/example/splines.png -------------------------------------------------------------------------------- /example/swagger-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/example/swagger-example.png -------------------------------------------------------------------------------- /grape-swagger.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/grape-swagger.gemspec -------------------------------------------------------------------------------- /lib/grape-swagger.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/lib/grape-swagger.rb -------------------------------------------------------------------------------- /lib/grape-swagger/doc_methods.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/lib/grape-swagger/doc_methods.rb -------------------------------------------------------------------------------- /lib/grape-swagger/doc_methods/build_model_definition.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/lib/grape-swagger/doc_methods/build_model_definition.rb -------------------------------------------------------------------------------- /lib/grape-swagger/doc_methods/data_type.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/lib/grape-swagger/doc_methods/data_type.rb -------------------------------------------------------------------------------- /lib/grape-swagger/doc_methods/extensions.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/lib/grape-swagger/doc_methods/extensions.rb -------------------------------------------------------------------------------- /lib/grape-swagger/doc_methods/format_data.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/lib/grape-swagger/doc_methods/format_data.rb -------------------------------------------------------------------------------- /lib/grape-swagger/doc_methods/move_params.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/lib/grape-swagger/doc_methods/move_params.rb -------------------------------------------------------------------------------- /lib/grape-swagger/doc_methods/operation_id.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/lib/grape-swagger/doc_methods/operation_id.rb -------------------------------------------------------------------------------- /lib/grape-swagger/doc_methods/optional_object.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/lib/grape-swagger/doc_methods/optional_object.rb -------------------------------------------------------------------------------- /lib/grape-swagger/doc_methods/parse_params.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/lib/grape-swagger/doc_methods/parse_params.rb -------------------------------------------------------------------------------- /lib/grape-swagger/doc_methods/path_string.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/lib/grape-swagger/doc_methods/path_string.rb -------------------------------------------------------------------------------- /lib/grape-swagger/doc_methods/produces_consumes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/lib/grape-swagger/doc_methods/produces_consumes.rb -------------------------------------------------------------------------------- /lib/grape-swagger/doc_methods/status_codes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/lib/grape-swagger/doc_methods/status_codes.rb -------------------------------------------------------------------------------- /lib/grape-swagger/doc_methods/tag_name_description.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/lib/grape-swagger/doc_methods/tag_name_description.rb -------------------------------------------------------------------------------- /lib/grape-swagger/doc_methods/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/lib/grape-swagger/doc_methods/version.rb -------------------------------------------------------------------------------- /lib/grape-swagger/endpoint.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/lib/grape-swagger/endpoint.rb -------------------------------------------------------------------------------- /lib/grape-swagger/errors.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/lib/grape-swagger/errors.rb -------------------------------------------------------------------------------- /lib/grape-swagger/instance.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/lib/grape-swagger/instance.rb -------------------------------------------------------------------------------- /lib/grape-swagger/model_parsers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/lib/grape-swagger/model_parsers.rb -------------------------------------------------------------------------------- /lib/grape-swagger/rake/oapi_tasks.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/lib/grape-swagger/rake/oapi_tasks.rb -------------------------------------------------------------------------------- /lib/grape-swagger/request_param_parser_registry.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/lib/grape-swagger/request_param_parser_registry.rb -------------------------------------------------------------------------------- /lib/grape-swagger/request_param_parsers/body.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/lib/grape-swagger/request_param_parsers/body.rb -------------------------------------------------------------------------------- /lib/grape-swagger/request_param_parsers/headers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/lib/grape-swagger/request_param_parsers/headers.rb -------------------------------------------------------------------------------- /lib/grape-swagger/request_param_parsers/route.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/lib/grape-swagger/request_param_parsers/route.rb -------------------------------------------------------------------------------- /lib/grape-swagger/token_owner_resolver.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/lib/grape-swagger/token_owner_resolver.rb -------------------------------------------------------------------------------- /lib/grape-swagger/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module GrapeSwagger 4 | VERSION = '2.1.3' 5 | end 6 | -------------------------------------------------------------------------------- /spec/issues/267_nested_namespaces.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/267_nested_namespaces.rb -------------------------------------------------------------------------------- /spec/issues/403_versions_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/403_versions_spec.rb -------------------------------------------------------------------------------- /spec/issues/427_entity_as_string_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/427_entity_as_string_spec.rb -------------------------------------------------------------------------------- /spec/issues/430_entity_definitions_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/430_entity_definitions_spec.rb -------------------------------------------------------------------------------- /spec/issues/532_allow_custom_format_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/532_allow_custom_format_spec.rb -------------------------------------------------------------------------------- /spec/issues/533_specify_status_code_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/533_specify_status_code_spec.rb -------------------------------------------------------------------------------- /spec/issues/537_enum_values_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/537_enum_values_spec.rb -------------------------------------------------------------------------------- /spec/issues/539_array_post_body_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/539_array_post_body_spec.rb -------------------------------------------------------------------------------- /spec/issues/542_array_of_type_in_post_body_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/542_array_of_type_in_post_body_spec.rb -------------------------------------------------------------------------------- /spec/issues/553_align_array_put_post_params_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/553_align_array_put_post_params_spec.rb -------------------------------------------------------------------------------- /spec/issues/572_array_post_body_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/572_array_post_body_spec.rb -------------------------------------------------------------------------------- /spec/issues/579_align_put_post_parameters_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/579_align_put_post_parameters_spec.rb -------------------------------------------------------------------------------- /spec/issues/582_file_response_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/582_file_response_spec.rb -------------------------------------------------------------------------------- /spec/issues/587_range_parameter_delimited_by_dash_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/587_range_parameter_delimited_by_dash_spec.rb -------------------------------------------------------------------------------- /spec/issues/605_root_route_documentation_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/605_root_route_documentation_spec.rb -------------------------------------------------------------------------------- /spec/issues/650_params_array_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/650_params_array_spec.rb -------------------------------------------------------------------------------- /spec/issues/666_array_of_entities_in_request_body_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/666_array_of_entities_in_request_body_spec.rb -------------------------------------------------------------------------------- /spec/issues/677_consumes_produces_add_swagger_documentation_options_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/677_consumes_produces_add_swagger_documentation_options_spec.rb -------------------------------------------------------------------------------- /spec/issues/680_keep_204_error_schemas_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/680_keep_204_error_schemas_spec.rb -------------------------------------------------------------------------------- /spec/issues/721_set_default_parameter_location_based_on_consumes_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/721_set_default_parameter_location_based_on_consumes_spec.rb -------------------------------------------------------------------------------- /spec/issues/751_deeply_nested_objects_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/751_deeply_nested_objects_spec.rb -------------------------------------------------------------------------------- /spec/issues/776_multiple_presents_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/776_multiple_presents_spec.rb -------------------------------------------------------------------------------- /spec/issues/784_extensions_on_params_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/784_extensions_on_params_spec.rb -------------------------------------------------------------------------------- /spec/issues/809_utf8_routes_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/809_utf8_routes_spec.rb -------------------------------------------------------------------------------- /spec/issues/832_array_hash_float_decimal_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/832_array_hash_float_decimal_spec.rb -------------------------------------------------------------------------------- /spec/issues/847_route_param_options_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/847_route_param_options_spec.rb -------------------------------------------------------------------------------- /spec/issues/883_query_array_parameter_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/883_query_array_parameter_spec.rb -------------------------------------------------------------------------------- /spec/issues/901_extensions_on_body_params_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/901_extensions_on_body_params_spec.rb -------------------------------------------------------------------------------- /spec/issues/923_params_schema_definition_for_delete_action_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/923_params_schema_definition_for_delete_action_spec.rb -------------------------------------------------------------------------------- /spec/issues/942_route_params.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/942_route_params.rb -------------------------------------------------------------------------------- /spec/issues/962_polymorphic_entity_with_custom_documentation_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/issues/962_polymorphic_entity_with_custom_documentation_spec.rb -------------------------------------------------------------------------------- /spec/lib/data_type_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/lib/data_type_spec.rb -------------------------------------------------------------------------------- /spec/lib/endpoint_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/lib/endpoint_spec.rb -------------------------------------------------------------------------------- /spec/lib/extensions_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/lib/extensions_spec.rb -------------------------------------------------------------------------------- /spec/lib/format_data_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/lib/format_data_spec.rb -------------------------------------------------------------------------------- /spec/lib/model_parsers_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/lib/model_parsers_spec.rb -------------------------------------------------------------------------------- /spec/lib/move_params_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/lib/move_params_spec.rb -------------------------------------------------------------------------------- /spec/lib/oapi_tasks_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/lib/oapi_tasks_spec.rb -------------------------------------------------------------------------------- /spec/lib/operation_id_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/lib/operation_id_spec.rb -------------------------------------------------------------------------------- /spec/lib/optional_object_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/lib/optional_object_spec.rb -------------------------------------------------------------------------------- /spec/lib/parse_params_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/lib/parse_params_spec.rb -------------------------------------------------------------------------------- /spec/lib/path_string_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/lib/path_string_spec.rb -------------------------------------------------------------------------------- /spec/lib/produces_consumes_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/lib/produces_consumes_spec.rb -------------------------------------------------------------------------------- /spec/lib/request_param_parsers/body_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/lib/request_param_parsers/body_spec.rb -------------------------------------------------------------------------------- /spec/lib/tag_name_description_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/lib/tag_name_description_spec.rb -------------------------------------------------------------------------------- /spec/lib/token_owner_resolver_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/lib/token_owner_resolver_spec.rb -------------------------------------------------------------------------------- /spec/lib/version_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/lib/version_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/support/empty_model_parser.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/support/empty_model_parser.rb -------------------------------------------------------------------------------- /spec/support/grape_version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/support/grape_version.rb -------------------------------------------------------------------------------- /spec/support/mock_parser.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/support/mock_parser.rb -------------------------------------------------------------------------------- /spec/support/model_parsers/entity_parser.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/support/model_parsers/entity_parser.rb -------------------------------------------------------------------------------- /spec/support/model_parsers/mock_parser.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/support/model_parsers/mock_parser.rb -------------------------------------------------------------------------------- /spec/support/model_parsers/representable_parser.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/support/model_parsers/representable_parser.rb -------------------------------------------------------------------------------- /spec/support/namespace_tags.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/support/namespace_tags.rb -------------------------------------------------------------------------------- /spec/support/route_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/support/route_helper.rb -------------------------------------------------------------------------------- /spec/support/the_paths_definitions.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/support/the_paths_definitions.rb -------------------------------------------------------------------------------- /spec/swagger_v2/api_documentation_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/api_documentation_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/api_swagger_v2_additional_properties_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/api_swagger_v2_additional_properties_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/api_swagger_v2_body_definitions_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/api_swagger_v2_body_definitions_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/api_swagger_v2_definitions-models_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/api_swagger_v2_definitions-models_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/api_swagger_v2_detail_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/api_swagger_v2_detail_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/api_swagger_v2_extensions_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/api_swagger_v2_extensions_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/api_swagger_v2_format-content_type_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/api_swagger_v2_format-content_type_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/api_swagger_v2_global_configuration_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/api_swagger_v2_global_configuration_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/api_swagger_v2_hash_and_array_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/api_swagger_v2_hash_and_array_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/api_swagger_v2_headers_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/api_swagger_v2_headers_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/api_swagger_v2_hide_documentation_path_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/api_swagger_v2_hide_documentation_path_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/api_swagger_v2_hide_param_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/api_swagger_v2_hide_param_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/api_swagger_v2_ignore_defaults_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/api_swagger_v2_ignore_defaults_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/api_swagger_v2_mounted_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/api_swagger_v2_mounted_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/api_swagger_v2_param_type_body_nested_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/api_swagger_v2_param_type_body_nested_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/api_swagger_v2_param_type_body_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/api_swagger_v2_param_type_body_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/api_swagger_v2_param_type_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/api_swagger_v2_param_type_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/api_swagger_v2_request_params_fix_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/api_swagger_v2_request_params_fix_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/api_swagger_v2_response_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/api_swagger_v2_response_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/api_swagger_v2_response_with_examples_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/api_swagger_v2_response_with_examples_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/api_swagger_v2_response_with_headers_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/api_swagger_v2_response_with_headers_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/api_swagger_v2_response_with_models_and_primitive_types_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/api_swagger_v2_response_with_models_and_primitive_types_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/api_swagger_v2_response_with_models_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/api_swagger_v2_response_with_models_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/api_swagger_v2_response_with_root_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/api_swagger_v2_response_with_root_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/api_swagger_v2_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/api_swagger_v2_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/api_swagger_v2_status_codes_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/api_swagger_v2_status_codes_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/api_swagger_v2_type-format_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/api_swagger_v2_type-format_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/boolean_params_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/boolean_params_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/default_api_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/default_api_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/deprecated_field_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/deprecated_field_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/description_not_initialized_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/description_not_initialized_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/endpoint_versioned_path_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/endpoint_versioned_path_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/errors_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/errors_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/float_api_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/float_api_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/form_params_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/form_params_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/grape-swagger_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/grape-swagger_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/guarded_endpoint_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/guarded_endpoint_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/hide_api_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/hide_api_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/host_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/host_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/inheritance_and_discriminator_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/inheritance_and_discriminator_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/mount_override_api_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/mount_override_api_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/mounted_target_class_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/mounted_target_class_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/namespace_tags_prefix_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/namespace_tags_prefix_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/namespace_tags_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/namespace_tags_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/namespaced_api_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/namespaced_api_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/nicknamed_api_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/nicknamed_api_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/operation_id_api_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/operation_id_api_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/param_multi_type_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/param_multi_type_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/param_type_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/param_type_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/param_values_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/param_values_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/params_array_collection_format_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/params_array_collection_format_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/params_array_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/params_array_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/params_example_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/params_example_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/params_hash_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/params_hash_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/params_nested_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/params_nested_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/parent_less_namespace_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/parent_less_namespace_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/reference_entity_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/reference_entity_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/security_requirement_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/security_requirement_spec.rb -------------------------------------------------------------------------------- /spec/swagger_v2/simple_mounted_api_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/swagger_v2/simple_mounted_api_spec.rb -------------------------------------------------------------------------------- /spec/version_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-grape/grape-swagger/HEAD/spec/version_spec.rb --------------------------------------------------------------------------------