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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 555390911c144982f0fd555e01ccf0b0a53452673e704085f3b29f63d23c74fb
4
- data.tar.gz: 7b5d5e2e97f390c40f8dfc89a706aca36c124914e4bdf22a4f213f2c5ff6e093
3
+ metadata.gz: df200f372e9f0e40bb72b2fb5bda369f79519b3081ce0d562f172d91011328ae
4
+ data.tar.gz: c34517a4d760e0ed3412663976744e4200f7e2bc5b1171d07e96fb7d8d279be6
5
5
  SHA512:
6
- metadata.gz: c516ffc1f0d5114fbd6d0e176a021588604ac3bf91f57b7d49f63d99301ec30b6fb6cc5fa616992b2e696ac7b544193d7bfc62ff02934a12aaa8dcb037eac32b
7
- data.tar.gz: 6d68990c8bfae2f9079ea022263a9ea05f57dc95bdac40a23940a5e5a1a0eb11be346ab4c93aff122193ab768e92b5b6a182aa6a708ef33efbf046b2809e542f
6
+ metadata.gz: 3cfe0cc68a80c58eb6f0a1da50cf36f3f4ce30497be8b3c0f639d3922a9ecf4ef2afe52ce04c5e9267361233628f432b19f72fd39deee74aa0e3fa7ffec67868
7
+ data.tar.gz: 0df481b090aaf42a50c10eec7ffafe2e04077432de5e89ab1c8041a276a4095e01e2fe510f40fa34c0e6baae33d3dcf2229a194d4cfdfc26e6e2c081283f9404
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change log
2
2
 
3
+ ### 3.2.7 - 2024-12-08
4
+
5
+ * bug fixes
6
+ * fix other content-type for request OpenAPI 3
7
+
3
8
  ### 3.2.6 - 2024-12-08
4
9
 
5
10
  * bug fixes
@@ -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'] && action_definition[method]['requestBody']['content'].keys[0] == 'application/json' ? action_definition[method]['requestBody']['content'].keys[0] : nil,
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: ''
@@ -1,3 +1,3 @@
1
1
  module Tomograph
2
- VERSION = '3.2.6'.freeze
2
+ VERSION = '3.2.7'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tomograph
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.6
4
+ version: 3.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - d.efimov