README.md in rspec-rails-api-0.4.0 vs README.md in rspec-rails-api-0.5.0
- old
+ new
@@ -261,15 +261,15 @@
inline.
Both `:of` and `attributes` may be a hash of fields or a symbol. If they
are omitted, they will be documented, but responses won't be validated.
-Arrays of primitives are supported; the type should be prefixed by `type_` to
-avoid collisions with defined entities of the same name:
+Arrays of primitives are supported; refer to the [documentation](https://swagger.io/specification/#data-types) for the
+list. Usage:
```rb
entity :user,
- surnames: { type: :array, of: :type_int32 }
+ favorite_numbers: { type: :array, of: :int32 }
```
Check `lib/rspec_rails_api.rb` for the full list.
##### `parameters(type, fields)`