Sha256: 1cee2a2671d5e579031b368329b9208e3c1c35544be892e0477b06bf714a10d8
Contents?: true
Size: 1.42 KB
Versions: 1
Compression:
Stored size: 1.42 KB
Contents
# Changelog ## [v0.19.0] 2021-03-10 - Use [redoc](https://github.com/Redocly/redoc) for generated documentation UI ## [v0.18.0] 2021-03-02 - Add generic hash type for primitive types ## [v0.17.0]: 2020-11-30 - Allow tagging endpoints via the new `tags` method. ## [v0.16.0]: 2020-10-23 - Allow non-class types to be used as the inputs to controllers ## [v0.15.0]: 2020-09-02 ### Added - Add a new `#merge` method to output objects, which will merge fields from another output object into the given output object. - Add `multi` to Output Objects, as a way to define more than one field of the same type at once. - Add an `inherits:` key to output objects, for view inheritance. - Add `SoberSwag::Types::CommaArray`, which parses comma-separated strings into arrays. This also sets `style` to `form` and `explode` to `false` when generating Swagger docs. This class is mostly useful for query parameters where you want a simpler format: `tag=foo,bar` instead of `tag[]=foo,tag[]=bar`. - Add support for using `meta` to specify alternative `style` and `explode` keys for query and path params. Note that this support *does not* extend to parsing: If you modify the `style` or `explode` keywords, you will need to make those input formats work with the actual type yourself. ### Fixed - No longer swallow `Dry::Struct` errors, instead let them surface to the user. [v0.15.0]: https://github.com/SonderMindOrg/sober_swag/releases/tag/v0.15.0
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sober_swag-0.19.0 | CHANGELOG.md |