tomograph 3.2.6 → 3.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 +5 -0
- data/lib/tomograph/openapi/openapi3.rb +1 -1
- data/lib/tomograph/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: df200f372e9f0e40bb72b2fb5bda369f79519b3081ce0d562f172d91011328ae
|
4
|
+
data.tar.gz: c34517a4d760e0ed3412663976744e4200f7e2bc5b1171d07e96fb7d8d279be6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cfe0cc68a80c58eb6f0a1da50cf36f3f4ce30497be8b3c0f639d3922a9ecf4ef2afe52ce04c5e9267361233628f432b19f72fd39deee74aa0e3fa7ffec67868
|
7
|
+
data.tar.gz: 0df481b090aaf42a50c10eec7ffafe2e04077432de5e89ab1c8041a276a4095e01e2fe510f40fa34c0e6baae33d3dcf2229a194d4cfdfc26e6e2c081283f9404
|
data/CHANGELOG.md
CHANGED
@@ -17,7 +17,7 @@ module Tomograph
|
|
17
17
|
result.push(Tomograph::Tomogram::Action.new(
|
18
18
|
path: "#{@prefix}#{path}",
|
19
19
|
method: method.upcase,
|
20
|
-
content_type: action_definition[method]['requestBody']
|
20
|
+
content_type: action_definition[method]['requestBody'].nil? ? nil : action_definition[method]['requestBody']['content'].keys[0],
|
21
21
|
requests: [schema_new(valuekey(aj, 'schema'), @documentation['definitions'])].compact,
|
22
22
|
responses: responses(action_definition[method]['responses']),
|
23
23
|
resource: ''
|
data/lib/tomograph/version.rb
CHANGED