Releases: cnizzardini/cakephp-swagger-bake
Releases · cnizzardini/cakephp-swagger-bake
v2.4.2
v2.4.1
v1.7.7
SwaggerBake v1.7.7 is now available! See the changelog for every commit.
Fixes
- Support controllers defined in snake_case form from routes #430 @ArchangelDesign
v2.4.0
SwaggerBake v2.4.0 is now available! See the changelog for every commit.
This is a breaking change release. The config/swagger_bake.php
had been loaded automatically as part of the plugins bootstrap process. This caused a few issues in other packages and has been removed. If you encounter an error you need to load the config in your config/bootstrap.php
file:
Configure::load('swagger_bake', 'default', false);
v2.3.0
SwaggerBake v2.3.0 is now available! See the changelog for every commit.
Features
- Entity mass assignment support #422
Changes
- Adds OpenApiControllerService and deprecates SwaggerUIComponent #415
- ModelScanner now attempts using LocatorAwareTrait::fetchTable (cake 4.3 or higher) to match a table to a route via the controller #416
- Support for setting OpenAPI Security properties from the AuthenticationComponent has been dropped. It was no longer possible to support this with the fixes made to support CakePHPs dependency injection. These will now need to be defined using the
#[OpenApiSecurity]
attribute (note an example of how to set security via events was added to the events documentation) #423 - Swagger class now requires an instance of Configuration, if you are using SwaggerFactory no changes are necessary #413
Fixes
- Fixes breaking CakePHPs auto-wiring by instantiating instances of controllers without calling the userlands controller constructor #423
- Config
docType
setting in swagger_bake.php was not being respected, was defaulting to "swagger" #415
Misc
- Refactor configuration class #412
- Move bake and install into services #414
- Tables are now instantiated via the LocatorAwareTrait rather than calling the userland constructor #423
- Adds type of operator to query parameter schema description when using CakeSearch extension #416
- Adds
create()
method to ExtensionInterface which must create an instance of the Extension #423 - Refactors ExtensionLoader