Skip to content

Releases: cnizzardini/cakephp-swagger-bake

v1.6.3

06 Dec 15:34
Compare
Choose a tag to compare

Maintenance/feature release resolving #223

v1.6.2

11 Nov 23:24
Compare
Choose a tag to compare

Modify schema properties #222

v1.6.1

11 Nov 16:54
Compare
Choose a tag to compare

This is a feature and maintenance release.

  • Adds support for collection schemas #205
  • Migrates to github actions from travis-ci

v1.6.0

25 Oct 13:40
cc7a3fd
Compare
Choose a tag to compare

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

PR History

v1.5.9

06 Oct 12:42
cbff9fd
Compare
Choose a tag to compare

This is a maintenance release for issue #202 which resolves a bug with the SwaggerBake.beforeRender event.

v.1.5.8

04 Oct 15:59
40638cd
Compare
Choose a tag to compare

Maintenance and feature release

Features

Adds SwaggerBake.Schema.created event #193
Adds SwaggerBake.beforeRender event #198

Changes

Removes use of ReflectionClass from CakeSearch extension #192
Adds xml and json request/responses by default #194

Release Notes

PR History

v1.5.7

12 Sep 03:47
693957d
Compare
Choose a tag to compare

Maintenance release

Changes

Upgrade swagger and redoc to latest #188

Fixes

Regression no longer notating required properties in write operations #189

Release Notes

PR History

v1.5.6

10 Sep 21:53
Compare
Choose a tag to compare

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

PR History

v1.5.5

22 Aug 16:10
77767ee
Compare
Choose a tag to compare

Feature and maintenance release.

Features

  • Adds support for $ref attribute for SwagQuery and SwagHeader #175
  • Adds support for tinyinteger #170

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

v1.5.4

13 Aug 13:33
Compare
Choose a tag to compare

Fixes

  • Components->Schema->Property->Format not being set from YAML #161

Changes

  • Add common paginator parameters to components->parameters #162

Release Notes