openapi-ruby 2.6.0 → 2.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/openapi_ruby/core/document.rb +1 -1
- data/lib/openapi_ruby/dsl/context.rb +2 -2
- data/lib/openapi_ruby/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: 184a7fbab1cd65b421542bd525d0caece4c5ca9f86fba8902a73566935a34b56
|
|
4
|
+
data.tar.gz: 1999bdb9cfa6cb89804a45bc8ace6d820a55e4cc14d01fd9b7b12f8094d05098
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c3338c403c393bb1ae5ef93e15b8045f0e80ff9c3f797343089cff850a6218eb59c2eebc93f99a839d6d355cea25f29dd87f49281a04623a1c8e87a243c4124c
|
|
7
|
+
data.tar.gz: f191b3fdf19fe89e7041734d017854ed94d2197d03ce932742fb9d03db42b2bce6f512bdc1dd5cc8ddd2fd76f85c99c5cb0b89d9446b837ce8d070965be7b2b4
|
|
@@ -34,8 +34,8 @@ module OpenapiRuby
|
|
|
34
34
|
def to_openapi
|
|
35
35
|
result = {}
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
# Path-level parameters are already copied into each operation (line 27),
|
|
38
|
+
# so we don't output them at the path level to avoid duplicates.
|
|
39
39
|
@operations.each do |verb, op|
|
|
40
40
|
result[verb] = op.to_openapi
|
|
41
41
|
end
|
data/lib/openapi_ruby/version.rb
CHANGED