Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Releases: RicoNijeboer/laravel-to-swagger

v2.5.0 - Allow installation on Laravel v9

15 Feb 07:39
Compare
Choose a tag to compare

v2.4.3

31 Aug 14:42
Compare
Choose a tag to compare

v2.4.3 - 31-08-2021

Bugfixes

  • Fixed a bug with rules that validated objects, where it just completely messed up

v2.4.2

30 Aug 19:22
Compare
Choose a tag to compare

v2.4.2 - 30-08-2021

Changes

v2.4.1

30 Aug 19:09
Compare
Choose a tag to compare

v2.4.1 - 30-08-2021

Changes

v2.4.0

30 Aug 18:31
Compare
Choose a tag to compare

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 the RicoNijeboer\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

24 Aug 12:03
Compare
Choose a tag to compare

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

24 Aug 11:55
Compare
Choose a tag to compare

v2.3.2 - 2021-08-24

Bugfixes

  • Fixed a bug where the rule helper failed with nested rule arrays

v2.3.1

24 Aug 10:31
Compare
Choose a tag to compare

v2.3.1 - 2021-08-24

Bugfixes

  • Fixed a bug where tags were not applied when using the swagger_tag middleware.

v2.3.0

24 Aug 10:23
Compare
Choose a tag to compare

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 certain scopes it also adds these to your path.

Bugfixes

  • Fixed a bug in the ValueHelper::jsonResponseProperty where it failed when the $value given is an empty array
  • It now only loads batches it can display

v2.2.2

25 May 11:55
dc6a1a7
Compare
Choose a tag to compare

Bugfix for the Swagger reader in a testsuite