apipie-rails 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rubocop.yml +2 -2
- data/.rubocop.yml +15 -0
- data/.rubocop_todo.yml +3 -276
- data/CHANGELOG.md +6 -0
- data/app/controllers/apipie/apipies_controller.rb +2 -2
- data/app/helpers/apipie_helper.rb +1 -1
- data/lib/apipie/apipie_module.rb +2 -2
- data/lib/apipie/application.rb +12 -2
- data/lib/apipie/dsl_definition.rb +4 -4
- data/lib/apipie/error_description.rb +1 -1
- data/lib/apipie/errors.rb +2 -16
- data/lib/apipie/extractor/collector.rb +1 -1
- data/lib/apipie/extractor/recorder.rb +1 -1
- data/lib/apipie/extractor.rb +1 -1
- data/lib/apipie/generator/swagger/operation_id.rb +1 -1
- data/lib/apipie/helpers.rb +3 -3
- data/lib/apipie/method_description.rb +1 -1
- data/lib/apipie/resource_description.rb +10 -7
- data/lib/apipie/response_description.rb +1 -1
- data/lib/apipie/response_description_adapter.rb +3 -3
- data/lib/apipie/routing.rb +1 -1
- data/lib/apipie/rspec/response_validation_helper.rb +1 -1
- data/lib/apipie/swagger_generator.rb +6 -6
- data/lib/apipie/validator.rb +2 -2
- data/lib/apipie/version.rb +1 -1
- data/lib/tasks/apipie.rake +10 -10
- data/spec/dummy/config.ru +1 -1
- data/spec/lib/apipie/apipies_controller_spec.rb +4 -0
- data/spec/lib/apipie/application_spec.rb +16 -15
- data/spec/lib/apipie/generator/swagger/context_spec.rb +1 -0
- data/spec/lib/apipie/no_documented_method_spec.rb +17 -0
- data/spec/lib/apipie/resource_description_spec.rb +71 -28
- data/spec/lib/apipie/response_does_not_match_swagger_schema_spec.rb +35 -0
- data/spec/lib/rake_spec.rb +1 -1
- data/spec/lib/swagger/rake_swagger_spec.rb +2 -2
- data/spec/lib/swagger/swagger_dsl_spec.rb +10 -4
- data/spec/spec_helper.rb +2 -2
- metadata +5 -3
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apipie-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Pokorny
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-04-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -410,10 +410,12 @@ files:
|
|
410
410
|
- spec/lib/apipie/generator/swagger/warning_writer_spec.rb
|
411
411
|
- spec/lib/apipie/method_description/apis_service_spec.rb
|
412
412
|
- spec/lib/apipie/method_description_spec.rb
|
413
|
+
- spec/lib/apipie/no_documented_method_spec.rb
|
413
414
|
- spec/lib/apipie/param_description/deprecation_spec.rb
|
414
415
|
- spec/lib/apipie/param_description_spec.rb
|
415
416
|
- spec/lib/apipie/param_group_spec.rb
|
416
417
|
- spec/lib/apipie/resource_description_spec.rb
|
418
|
+
- spec/lib/apipie/response_does_not_match_swagger_schema_spec.rb
|
417
419
|
- spec/lib/apipie/validator_spec.rb
|
418
420
|
- spec/lib/rake_spec.rb
|
419
421
|
- spec/lib/swagger/openapi_2_0_schema.json
|
@@ -442,7 +444,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
442
444
|
- !ruby/object:Gem::Version
|
443
445
|
version: '0'
|
444
446
|
requirements: []
|
445
|
-
rubygems_version: 3.
|
447
|
+
rubygems_version: 3.1.6
|
446
448
|
signing_key:
|
447
449
|
specification_version: 4
|
448
450
|
summary: Rails REST API documentation tool
|