Skip to content

Releases: mako-framework/open-api

3.0.0

03 Jan 10:12
92c97c2
Compare
Choose a tag to compare
  • Bumped requirements to Mako 10+ and PHP 8.1+

2.2.1

29 Oct 20:19
7a0ae86
Compare
Choose a tag to compare

2.2.1 (2024-10-29)

Fixed

  • Ensure that the swagger docs work if "clean URLs" are disabled.

2.2.0

25 Jan 21:36
3592bcd
Compare
Choose a tag to compare

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

23 Nov 21:33
2953a79
Compare
Choose a tag to compare

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

23 Nov 19:19
da5afde
Compare
Choose a tag to compare
  • Bumped requirements to Mako 10+ and PHP 8.1+

1.2.4

19 Apr 13:09
ba0660d
Compare
Choose a tag to compare

Fixed

  • A format is no longer required for integers.

1.2.3

15 Feb 12:05
34c50b7
Compare
Choose a tag to compare

Fixed

  • It is now possible to specify the output path of the generated route file.

1.2.2

31 Jan 17:04
8be8616
Compare
Choose a tag to compare

Fixed

  • Parameters are now supported on both the path level and the operation level.

1.2.1

27 Jan 13:54
a0d1405
Compare
Choose a tag to compare

Fixed

  • The OpenApiTrait::getRouteName() method now supports invokable classes.

1.2.0

26 Jan 21:56
59e16f9
Compare
Choose a tag to compare

New

  • Added no-dot path parameter pattern.
  • Added possibility of defining custom regex based path parameter patterns.