Releases: mako-framework/open-api
Releases · mako-framework/open-api
3.0.0
- Bumped requirements to Mako 10+ and PHP 8.1+
2.2.1
2.2.1 (2024-10-29)
Fixed
- Ensure that the swagger docs work if "clean URLs" are disabled.
2.2.0
2.2.0 (2023-11-23)
New
- Added a controller that exposes three endpoints:
- The OpenApi spec
- A Redoc UI
- A Swagger UI
- Added a new route registrar class:
- Registers routes from a cache file or at runtime from the OpenApi yaml spec.
- Automatically registers
/openapi/spec
route that exposes the OpenApi spec.
- Automatically registers
/openapi/docs
route that exposes a Swagger or Redoc UI.
2.1.0
New
- Now possible to specify the OpenApi version when generating the spec (3.0.0 or 3.1.0).
Fixed
- The spec generator now supports the new Mako 10 directory structure as well as the legacy structure.
2.0.0
- Bumped requirements to Mako 10+ and PHP 8.1+
1.2.4
Fixed
- A format is no longer required for integers.
1.2.3
Fixed
- It is now possible to specify the output path of the generated route file.
1.2.2
Fixed
- Parameters are now supported on both the path level and the operation level.
1.2.1
Fixed
- The
OpenApiTrait::getRouteName()
method now supports invokable classes.
1.2.0
New
- Added
no-dot
path parameter pattern.
- Added possibility of defining custom regex based path parameter patterns.