dry-swagger 2.0.2 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -2
- data/Gemfile.lock +24 -24
- data/dry-swagger.gemspec +2 -2
- data/lib/dry/swagger/documentation_generator.rb +2 -0
- data/lib/dry/swagger/version.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3100411956a05ecd1301103d721843692ea4638c3cd4f046c17d2fbb32b4518
|
4
|
+
data.tar.gz: 9cbb229af2c742c66bebff2624b52aa368edd1eca726a92f9e7c3c96d5b908be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bb57e5390e35403314b8d8ed44c4f90ccf00639b40110055c1b240450c9da7b491dbf582405cd9d559b0e295ebd0074cd7cd561357b1dbac998b7f954bb9800
|
7
|
+
data.tar.gz: d5ef727ac0b91369d00bb96f32fcd94df55c6d6fdbb63e5f64ccf83cdc39d4c6cecf902c4a16f91e941b000747769c678c82308ab67cdc3e073c19744a156636
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
dry-swagger (2.0.
|
5
|
-
dry_struct_parser
|
6
|
-
dry_validation_parser
|
4
|
+
dry-swagger (2.0.4)
|
5
|
+
dry_struct_parser (~> 0.1.2)
|
6
|
+
dry_validation_parser (~> 0.1.11)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
bigdecimal (3.1.
|
12
|
-
concurrent-ruby (1.2.
|
13
|
-
diff-lcs (1.
|
11
|
+
bigdecimal (3.1.6)
|
12
|
+
concurrent-ruby (1.2.3)
|
13
|
+
diff-lcs (1.5.1)
|
14
14
|
dry-configurable (1.1.0)
|
15
15
|
dry-core (~> 1.0, < 2)
|
16
16
|
zeitwerk (~> 2.6)
|
@@ -23,7 +23,7 @@ GEM
|
|
23
23
|
concurrent-ruby (~> 1.0)
|
24
24
|
dry-core (~> 1.0, < 2)
|
25
25
|
zeitwerk (~> 2.6)
|
26
|
-
dry-schema (1.13.
|
26
|
+
dry-schema (1.13.4)
|
27
27
|
concurrent-ruby (~> 1.0)
|
28
28
|
dry-configurable (~> 1.0, >= 1.0.1)
|
29
29
|
dry-core (~> 1.0, < 2)
|
@@ -49,37 +49,37 @@ GEM
|
|
49
49
|
dry-initializer (~> 3.0)
|
50
50
|
dry-schema (>= 1.12, < 2)
|
51
51
|
zeitwerk (~> 2.6)
|
52
|
-
dry_struct_parser (0.1.
|
52
|
+
dry_struct_parser (0.1.2)
|
53
53
|
dry-struct (~> 1)
|
54
|
-
dry_validation_parser (0.1.
|
54
|
+
dry_validation_parser (0.1.11)
|
55
55
|
dry-types (~> 1)
|
56
56
|
dry-validation (~> 1)
|
57
|
-
i18n (1.
|
57
|
+
i18n (1.14.1)
|
58
58
|
concurrent-ruby (~> 1.0)
|
59
59
|
ice_nine (0.11.2)
|
60
60
|
rake (12.3.3)
|
61
|
-
rspec (3.
|
62
|
-
rspec-core (~> 3.
|
63
|
-
rspec-expectations (~> 3.
|
64
|
-
rspec-mocks (~> 3.
|
65
|
-
rspec-core (3.
|
66
|
-
rspec-support (~> 3.
|
67
|
-
rspec-expectations (3.
|
61
|
+
rspec (3.13.0)
|
62
|
+
rspec-core (~> 3.13.0)
|
63
|
+
rspec-expectations (~> 3.13.0)
|
64
|
+
rspec-mocks (~> 3.13.0)
|
65
|
+
rspec-core (3.13.0)
|
66
|
+
rspec-support (~> 3.13.0)
|
67
|
+
rspec-expectations (3.13.0)
|
68
68
|
diff-lcs (>= 1.2.0, < 2.0)
|
69
|
-
rspec-support (~> 3.
|
70
|
-
rspec-mocks (3.
|
69
|
+
rspec-support (~> 3.13.0)
|
70
|
+
rspec-mocks (3.13.0)
|
71
71
|
diff-lcs (>= 1.2.0, < 2.0)
|
72
|
-
rspec-support (~> 3.
|
73
|
-
rspec-support (3.
|
74
|
-
zeitwerk (2.6.
|
72
|
+
rspec-support (~> 3.13.0)
|
73
|
+
rspec-support (3.13.1)
|
74
|
+
zeitwerk (2.6.13)
|
75
75
|
|
76
76
|
PLATFORMS
|
77
77
|
ruby
|
78
78
|
|
79
79
|
DEPENDENCIES
|
80
80
|
dry-swagger!
|
81
|
-
dry_struct_parser
|
82
|
-
dry_validation_parser
|
81
|
+
dry_struct_parser (~> 0.1.2)
|
82
|
+
dry_validation_parser (~> 0.1.11)
|
83
83
|
i18n
|
84
84
|
rake (~> 12.0)
|
85
85
|
rspec (~> 3.0)
|
data/dry-swagger.gemspec
CHANGED
@@ -27,6 +27,6 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
28
|
spec.require_paths = ["lib"]
|
29
29
|
|
30
|
-
spec.add_dependency "dry_struct_parser"
|
31
|
-
spec.add_dependency "dry_validation_parser"
|
30
|
+
spec.add_dependency "dry_struct_parser", '~> 0.1.2'
|
31
|
+
spec.add_dependency "dry_validation_parser", "~> 0.1.11"
|
32
32
|
end
|
@@ -6,9 +6,11 @@ module Dry
|
|
6
6
|
"integer" => { type: :integer },
|
7
7
|
"boolean" => { type: :boolean },
|
8
8
|
"float" => { type: :float },
|
9
|
+
"decimal" => { type: :string, format: :decimal },
|
9
10
|
"datetime" => { type: :string, format: :datetime },
|
10
11
|
"date" => { type: :string, format: :date },
|
11
12
|
"time" => { type: :string, format: :time },
|
13
|
+
"uuid" => { type: :string, format: :uuid }
|
12
14
|
}.freeze
|
13
15
|
|
14
16
|
def initialize
|
data/lib/dry/swagger/version.rb
CHANGED
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dry-swagger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jane-Terziev
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry_struct_parser
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.1.2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 0.1.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: dry_validation_parser
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 0.1.11
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 0.1.11
|
41
41
|
description: A parser which converts dry-validation or dry-struct into valid swagger
|
42
42
|
documentation
|
43
43
|
email:
|