Releases: cnizzardini/cakephp-swagger-bake
v1.6.3
v1.6.2
v1.6.1
v1.6.0
You will need to update any SwaggerBake.Schema.created
event listeners to use ModelDecorator instead of EntityDecorator. This was done to improve some of the internal code which now leverages classes from MixerApi/Core. The SwagDtoForm
annotation has been deprecated, use SwagDtoRequestBody
(see below or read release notes).
Features
- Schema is now loaded from Table classes instead of scanning your project database schema. This allows support for non-conventional table names (singular names for instance) as well as support for SQL Views #171
- Adds support for Data Transfer Objects on XML and JSON request types #204
- Add SwagEntityAttribute::example #208
Changes
- Updates SwaggerBake.Schema.created to use ModelDecorator since the EntityDecorator has been deprecated #210
- Removes EntityDecorator and PropertyDecorator, now uses MixerApi/Core classes.
- Deprecates SwagDtoForm annotation (use SwagDtoRequestBody now) #204
- Cleanup display of friends of cake search filters #206
Release Notes
v1.5.9
v.1.5.8
v1.5.7
v1.5.6
Maintenance and feature release. Big items here are support for HAL+JSON and JSON-LD. Defining these mime types in your swagger_bake.php
config will allow schema examples to show in these formats.
Read/Write schemas are now defined in the x-swagger-bake vendor extension. Previously properties were added for each operation due to some limitations with how Swagger displays readOnly and writeOnly properties. There is no functional change here for developers, but it can reduce the swagger/openapi JSON payload if you support multiple mime types.
Features
HAL+JSON schema support #159
JSON-LD schema support #180
Changes
Add read/write schemas to x-swagger-bake vendor extension #163
Fixes
Non-string default values #184 (thank you @lpj145)
Release Notes
v1.5.5
Feature and maintenance release.
Features
Fixes
- Bake theme was not setting variables for add and edit methods #178
Release Notes
https://github.com/cnizzardini/cakephp-swagger-bake/milestone/18?closed=1