openapi_parser 2.2.2 → 2.2.3

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: ee47209ddc3182fdab488acfbda8e2fd628ab0bd0979bd04e60fcbf7f71365f3
4
- data.tar.gz: 66a4c16d27ddeffd927ec5df1124572d3c885c3759630f0cae3edb9a122355f8
3
+ metadata.gz: fcf4eb8daf0d179a7bda7dc584020f64ec8ee52ea0dcaddb4d532122f00b2f41
4
+ data.tar.gz: 9a5742b5f563e3d54d1739cd95e9b7da4f7da6a65ffe1180f9a4908ad93010e0
5
5
  SHA512:
6
- metadata.gz: 3a7d3ec2c6e75fa903203dbae2a607f152e59e1299ab053df8923b9c8b69539a89dfa98a757481d8cb8dedec7e8e362c1f13f01a7087baff6dd017cd2c3dc3e9
7
- data.tar.gz: 19cd5e1d6079c0b69f2ed4e849cc23a0d7b7e67fd780ad4cf2bb430d9ffbe86d4f84c36c8173e74f25905460c51af4d579f2fe19f3db215837ddef763c1fd1da
6
+ metadata.gz: e7af1fc0b83d2b05b51d9005d45133194bffbdbbe56ec0029564d7e79332652dbbf729defaa7138f6d25df718b54467847b78315a7c747fc0bcfcda4ccba4bf2
7
+ data.tar.gz: 32384fce5b9e39674d1fd3fd9a565fa93d0ac5610a22159e6735cefec2ec02219c16305b4cf448ca7faeeace2f8fd82758c16c6b50ba998da6d203269d530c95
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  ## Unreleased
2
2
 
3
+ ## 2.2.3 (2024-12-12)
4
+ * fix parent_discriminator_schema nil from all_of_validator #179
5
+
3
6
  ## 2.2.2 (2024-11-21)
4
7
  * make content-type lookup case-insensitive #178
5
8
 
@@ -18,7 +18,7 @@ class OpenAPIParser::SchemaValidator
18
18
  value,
19
19
  s,
20
20
  :parent_all_of => true,
21
- parent_discriminator_schemas: keyword_args[:parent_discriminator_schemas]
21
+ parent_discriminator_schemas: keyword_args[:parent_discriminator_schemas] || []
22
22
  )
23
23
 
24
24
  if s.type == "object"
@@ -1,3 +1,3 @@
1
1
  module OpenAPIParser
2
- VERSION = '2.2.2'.freeze
2
+ VERSION = '2.2.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openapi_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.2
4
+ version: 2.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ota42y
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-21 00:00:00.000000000 Z
11
+ date: 2024-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler