This repository was archived by the owner on May 15, 2024. It is now read-only.
Releases: RicoNijeboer/laravel-to-swagger
Releases · RicoNijeboer/laravel-to-swagger
v2.5.0 - Allow installation on Laravel v9
Upgrade deps
v2.4.3
v2.4.3 - 31-08-2021
Bugfixes
- Fixed a bug with rules that validated objects, where it just completely messed up
v2.4.2
v2.4.1
v2.4.0
v2.4.0 - 30-08-2021
Changes
- We now actually apply the example to the response so it is now readable
- The
RicoNijeboer\Swagger\SwaggerServiceProvider
now ensures that theRicoNijeboer\Swagger\Providers\ValidationServiceProvider
is registered, making the documentation for development only installs correct again. - When validated input is in the query when called it is now stored as a parameter
Bugfixes
- Fixed an error that occurred when displaying any request that contained a
max
rule in the request validation - Fixed a bug in the PathData::calculateMiddleware where it threw an exception when you did not add a specific guard to your
auth
middleware. - Fixed failing tests (sorry)
v2.3.3
v2.3.3 - 2021-08-24
Bugfixes
- Fixed error with the
Str::startsWith
method throwing an exception when haystack is an array
v2.3.2
v2.3.2 - 2021-08-24
Bugfixes
- Fixed a bug where the rule helper failed with nested rule arrays
v2.3.1
v2.3.1 - 2021-08-24
Bugfixes
- Fixed a bug where tags were not applied when using the
swagger_tag
middleware.
v2.3.0
v2.3.0 - 2021-08-24
Changes
- An example response body is now added for
application/json
responses. This body is completely anonymous, but is more representative of your actual response. - Security schemes are now applied to paths
- When you use
laravel/passport
and your route requires certainscopes
it also adds these to your path.
- When you use
Bugfixes
v2.2.2
Bugfix for the Swagger reader in a testsuite