swagger_autogenerate 1.2.6 → 1.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -0
- data/Gemfile.lock +1 -1
- data/lib/swagger_autogenerate/configuration.rb +2 -1
- data/lib/swagger_autogenerate/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92cbfe4b2e0ca64b9e449776808ebff9817c60f5d8b03fee32797fd9954aa6ad
|
4
|
+
data.tar.gz: 2c2ebf285f656b32c839dd781f599d338fc655cba177ea693cf2361defc5b385
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ea1ca78404db1f3227a0c16b529ddf97225200c0ccffaf0ba3a39569d5e62f695159a8279e9ef418c0080824d66828952abf953f1cdbec9191ec4b1d89e8ee2
|
7
|
+
data.tar.gz: 545a6631e980be453b483d03a2e834250b750f648bb415dc1a86849bdca92903d26eee478e11c3b3bd3b408f67a4c441ba1332921ee2c0e571fda17ef0140ebf
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module SwaggerAutogenerate
|
2
2
|
class Configuration
|
3
3
|
attr_accessor :with_config, :with_multiple_examples, :with_rspec_examples, :with_example_description,
|
4
|
-
:with_response_description, :swagger_path_environment_variable, :generate_swagger_environment_variable,
|
4
|
+
:with_response_description, :with_payload_properties, :swagger_path_environment_variable, :generate_swagger_environment_variable,
|
5
5
|
:default_path, :environment_name, :security, :swagger_config, :response_status, :action_for_old_examples
|
6
6
|
|
7
7
|
def initialize
|
@@ -10,6 +10,7 @@ module SwaggerAutogenerate
|
|
10
10
|
@with_rspec_examples = true
|
11
11
|
# remove this when we do not need it any more
|
12
12
|
@with_example_description = true
|
13
|
+
@with_payload_properties = true
|
13
14
|
@with_response_description = true
|
14
15
|
@action_for_old_examples = :append # :replace or :append
|
15
16
|
@swagger_path_environment_variable = 'SWAGGER_GENERATE_PATH'
|