rspec-rails-api 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +1 -1
- data/lib/rspec/rails/api/open_api_renderer.rb +1 -1
- data/lib/rspec/rails/api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac74e8f8e66d510a436cd3b1736dfa47aee2824e4d862987cca9c9f6a2c63fba
|
4
|
+
data.tar.gz: 8c73eae6f88c3888d82c9f44de5283741791efbe9e4f109c1c55c675ea918b1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efccea1dd2ab627e4e6097f07657ecbd60f119495ccd447f5bb8ccc109d513580749e744b78de0d8af7045ac75dbbcc70ea0217e29a4b0ea538531625a05fbc8
|
7
|
+
data.tar.gz: cdaaea4e65313a040713981cf0cfea6e72d847773b39b0b87b0d78cf2e0a685e9f1e331003cea5bf219d29fec2ca145e60628e0076eee7f43494c8c7801dca41
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -241,7 +241,7 @@ module RSpec
|
|
241
241
|
property = { '$ref' => "#/components/schemas/#{field.attributes}" }
|
242
242
|
elsif field.type == :array && field.attributes.is_a?(Symbol)
|
243
243
|
property = { type: :array, items: { '$ref' => "#/components/schemas/#{field.attributes}" } }
|
244
|
-
elsif field.type == :array
|
244
|
+
elsif field.type == :array && field.attributes
|
245
245
|
property = { type: :array, items: process_entity(field.attributes) }
|
246
246
|
end
|
247
247
|
|