tomograph 3.2.5 → 3.2.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 78d232066faa6723edc7bd4f7f0e3fe5f969a0a75594e0532462f1d094843099
4
- data.tar.gz: 68ffafe21b3f7b67ee33f4d7dc177aa184ef6dae20cdc7645af87097ff0a6454
3
+ metadata.gz: 555390911c144982f0fd555e01ccf0b0a53452673e704085f3b29f63d23c74fb
4
+ data.tar.gz: 7b5d5e2e97f390c40f8dfc89a706aca36c124914e4bdf22a4f213f2c5ff6e093
5
5
  SHA512:
6
- metadata.gz: ac711a3a470990481526966fc4b79648ffc98bcec078139472613c6ff36ed3a5d42d60ee0ecca3bc60b91d89383707b32354e3c7558e144ff09012eec2499a7f
7
- data.tar.gz: 48f0557dd893211c057957c81de3cf683acb2a4f5db44aec3664f52b58486c0312cde3dc71fb6b7e3728c90ac600efd129bc8eb11346491a137678bd9e5cae95
6
+ metadata.gz: c516ffc1f0d5114fbd6d0e176a021588604ac3bf91f57b7d49f63d99301ec30b6fb6cc5fa616992b2e696ac7b544193d7bfc62ff02934a12aaa8dcb037eac32b
7
+ data.tar.gz: 6d68990c8bfae2f9079ea022263a9ea05f57dc95bdac40a23940a5e5a1a0eb11be346ab4c93aff122193ab768e92b5b6a182aa6a708ef33efbf046b2809e542f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change log
2
2
 
3
+ ### 3.2.6 - 2024-12-08
4
+
5
+ * bug fixes
6
+ * fix null content-type for request OpenAPI 3
7
+
3
8
  ### 3.2.5 - 2024-12-02
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] : '',
20
+ content_type: action_definition[method]['requestBody'] && action_definition[method]['requestBody']['content'].keys[0] == 'application/json' ? action_definition[method]['requestBody']['content'].keys[0] : nil,
21
21
  requests: [schema_new(valuekey(aj, 'schema'), @documentation['definitions'])].compact,
22
22
  responses: responses(action_definition[method]['responses']),
23
23
  resource: ''
@@ -67,7 +67,7 @@ module Tomograph
67
67
  result.push(
68
68
  'status' => response_code,
69
69
  'body'=> {},
70
- 'content-type' => ''
70
+ 'content-type' => nil
71
71
  )
72
72
  else
73
73
  result += responses_by_content_types(response['content'], response_code)
@@ -1,3 +1,3 @@
1
1
  module Tomograph
2
- VERSION = '3.2.5'.freeze
2
+ VERSION = '3.2.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tomograph
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.5
4
+ version: 3.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - d.efimov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-12-02 00:00:00.000000000 Z
11
+ date: 2024-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: methadone