tomograph 3.2.3 → 3.2.4

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: dc85d4bf90afd51b699b6685ef8b55beb207e2d9da234ef69a0d878f084e72ec
4
- data.tar.gz: c5ac1d75deaa358b507442e6e429ad0e66af5e9641d8bb604591aa1e55342cfd
3
+ metadata.gz: e175b3015ed8ed1ad88ac14886ed8f9e3eabf14ee78cfb5f730f853d04772f4d
4
+ data.tar.gz: 5447efa1957737f9cd8da1551b1e4d9379192ab2284fbdf36c35d2b8223cf14b
5
5
  SHA512:
6
- metadata.gz: e9f34fb27300d17df46781032bd83bb5a48de8d12ffd0f293dbb1f64163145d598592769b34fa65dd6f288a8e12459d4d70ee335fdd9e8438c825f79d395e91e
7
- data.tar.gz: c0eb8517d6428198b9cf0ac00fb7d8ae90cbc6f87e3bfd83e896157d1001d2868bfcc72348506a68dca2fc9a0cf020b26a979888daf9526f3a684289a10836da
6
+ metadata.gz: 9e2789445f60212e93667d3f0ef821f73950137f3b882255183085d145e677c52bb2740d4ee58927553c5152393f3fc28ad03d310c5e794aacafed1f87db3ef7
7
+ data.tar.gz: 9f6acfa9631e14c38537ec92af554a65c7ad091bf33e71ef0cd10e258c1d9c63e6036537401866c3b9f33f2795b309bd265513288fb6fb30efe71de1e3364f1b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change log
2
2
 
3
+ ### 3.2.4 - 2024-08-08
4
+
5
+ * bug fixes
6
+ * fix content type for open api for request
7
+
3
8
  ### 3.2.3 - 2024-05-28
4
9
 
5
10
  * bug fixes
@@ -14,7 +14,7 @@ module Tomograph
14
14
  result.push(Tomograph::Tomogram::Action.new(
15
15
  path: "#{@prefix}#{path}",
16
16
  method: method.upcase,
17
- content_type: '',
17
+ content_type: action_definition[method]['requestBody'] && action_definition[method]['requestBody']['content'].keys[0] == 'application/json' ? action_definition[method]['requestBody']['content'].keys[0] : '',
18
18
  requests: [],
19
19
  responses: responses(action_definition[method]['responses']),
20
20
  resource: ''
@@ -1,3 +1,3 @@
1
1
  module Tomograph
2
- VERSION = '3.2.3'.freeze
2
+ VERSION = '3.2.4'.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.3
4
+ version: 3.2.4
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-05-27 00:00:00.000000000 Z
11
+ date: 2024-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: methadone