documentation/parameter.md in zero-rails_openapi-1.4.2 vs documentation/parameter.md in zero-rails_openapi-1.4.3
- old
+ new
@@ -60,8 +60,9 @@
3. So I suggest that the value of `format` should related to data type, `is` should be an entity.
4. ZRO defaults to identify whether `is` patterns matched the name, then automatically generate `is`.
for example the parameter name "user_email" will generate "is: email". Default `is` options are:
[email phone password uuid uri url time date], to overwrite it you can set it in initializer `c.is_options = %w[]`.
5. If type is Object, for describing each property's schema, the only way is use ref type, like: `{ id: :Id, name: :Name }`
- - **pattern (regexp, pr, reg)**
+ - **pattern (regexp, pr, reg)**
+ Regexp or Time Format
- **default (dft, default_value)**
- **as** # TODO