openapi_first 3.1.0 → 3.1.1

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: a2513061731f4643214baefa72ebdea7ef772652142c3cae73d5de40af652d0a
4
- data.tar.gz: 20cc46765db51727e45a716d7cb60c9774352366f19c95eb82ccc58cf4972e32
3
+ metadata.gz: 253737faf3fc405b3392732741837952f8be5082a53b5951f0eb7cfa3d19e15d
4
+ data.tar.gz: 9afffa2c557e0de2607c36ba271d93df6e02c291cabc0f8b7100efb2452e4d31
5
5
  SHA512:
6
- metadata.gz: ce05e5d3907637534dd8e3af1ef589a537037b785aa1539b11ad12dec0163b94b53d6afcadf3218192c1ca370bc94515e6a870a84f6fccde76cebaf89d45ae83
7
- data.tar.gz: 13879aacfb591bc463e9a43d41f1c11d977188efacc3e66348a6727d79e3d8753fe42655f1fcefe67f185b36e487bff9ba7875384ed3474a74531bfa7ebe4f20
6
+ metadata.gz: 2336b176928f49a20717077619aab2bae0d5503e53d4c25f98407929488d99e0ad3bd22763a6afa41df3591b5e0f01bb99f304bae099c8f4679ff24132bcbfa5
7
+ data.tar.gz: 6c8186bb46f45f42b6aa1db24dc7886ee73733994108bfa2870c8ecba71a72d9a993bf7cf51c6facc676cfab0270328ca532a7780797614ef17222db97aa797a
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 3.1.1
6
+
7
+ - Changed: Return uniqe errors in default error responses
8
+
5
9
  ## 3.1.0
6
10
 
7
11
  ### openapi_first/test
@@ -48,7 +48,7 @@ module OpenapiFirst
48
48
  key => pointer(error.data_pointer),
49
49
  code: error.type
50
50
  }
51
- end
51
+ end.uniq
52
52
  end
53
53
 
54
54
  def pointer_key
@@ -27,7 +27,7 @@ module OpenapiFirst
27
27
  title: error.message,
28
28
  code: error.type
29
29
  }
30
- end
30
+ end.uniq
31
31
  end
32
32
 
33
33
  def default_errors
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OpenapiFirst
4
- VERSION = '3.1.0'
4
+ VERSION = '3.1.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openapi_first
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andreas Haller