documentation/parameter.md in zero-rails_openapi-1.5.1 vs documentation/parameter.md in zero-rails_openapi-1.5.2
- old
+ new
@@ -18,10 +18,10 @@
In addition, you can use `format` in schema_hash to define in fine detail the data type being used, like:
int32, float, date ...
All the types you can use as following:
- **String, 'binary', 'base64'**
- **Integer, Long, 'int32', 'int64', Float, Double**
- - **File** (it will be converted to `{ type: 'string', format: Config.dft_file_format }`)
+ - **File** (it will be converted to `{ type: 'string', format: Config.file_format }`)
- **Date, DateTime**
- **Boolean**
- **Array**: `Array[String]` or `[String]`
- Nested Array: `[[[Integer]]]`
- **Object**: you can use just `Object`, or use a hash to declare its properties `{ id!: Integer, name: String }`