Tags give the ability to mark specific points in history as being important
-
0.6.0
2ebf6782 · ·Added ------------- - Declaring the same resource multiple times is now possible - Add a simple support for security schemes - Add support for global entities declarations. Keep things DRYer :) - `test_response_of`: add `ignore_content_type` flag to ignore response's content type - `test_response_of`: add `ignore_response` flag to ignore tests on response - Renderer: Add simple support for redactable content. It will replace content in responses by something else. For now, sub-entities are not redacted. - Support for `file` type. When declaring a field with the `file` type, it will change the request content-type to `multipart/form-data` automatically. Changed ------------- - Generated JSON files will always be prettified to ease changes reviews when they are versioned - When an unexpected 422 error happens, also display its content in error message - [BREAKING] It is now impossible to declare the same entity twice. To remediate, rename your declared entities and/or use global declarations. Check [README](./README.md) for example. - Renderer: Use response data as-is when it's not valid JSON Fixed ------------- - Strip generated descriptions and summaries - Primitives are no more referenced in schemas for "expect_one" types - Compare type `:float` against `Numeric` class - Entities: Raise error when using `:array` type with `attributes` property and `:object` type with `of` property - Rendering of sub-references now use the correct reference - Metadata: Add missing type on array parameters - Don't transform parameters into JSON when making `get` requests - Operation IDs don't use summaries for uniqueness - Downcase response content type before comparison - Type format is now added on request parameters if applicable