dry-swagger 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dry/swagger/documentation_generator.rb +3 -3
- data/lib/dry/swagger/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: a7ad81fa3e96f19db992cb4beab2707316f08581a18fb4744b98d0ded815474c
|
4
|
+
data.tar.gz: 5b71ef17a426f4cabf5dcce86ed9abb291f5452be9fdee9efc6df2a4d856375d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b27a0a040f8b5d59cf8ba72f3636b7161e33e708c64bb4f1658425bb4e17a3eaadc88d9f45e0dcc2b56d5a33b726cdfeb0b2efedc2d25cf08c3002e1ecf6a3ac
|
7
|
+
data.tar.gz: f90605fe210dcb4486a8fad9ee60070ed9237ef5063387f1f8360c8c32b65efc41ed11e053437a514c126084bba42719bbfa674cc8ee87a778e5bdf2fceac432
|
@@ -12,15 +12,15 @@ module Dry
|
|
12
12
|
}.freeze
|
13
13
|
|
14
14
|
def initialize
|
15
|
-
@config = Config::SwaggerConfiguration
|
15
|
+
@config = ::Dry::Swagger::Config::SwaggerConfiguration
|
16
16
|
end
|
17
17
|
|
18
18
|
def from_struct(struct)
|
19
|
-
generate_documentation(DryStructParser::StructSchemaParser.new.call(struct).keys)
|
19
|
+
generate_documentation(::DryStructParser::StructSchemaParser.new.call(struct).keys)
|
20
20
|
end
|
21
21
|
|
22
22
|
def from_validation(validation)
|
23
|
-
generate_documentation(DryValidationParser::ValidationSchemaParser.new.call(validation).keys)
|
23
|
+
generate_documentation(::DryValidationParser::ValidationSchemaParser.new.call(validation).keys)
|
24
24
|
end
|
25
25
|
|
26
26
|
def generate_documentation(fields)
|
data/lib/dry/swagger/version.rb
CHANGED