Releases: mtrajano/laravel-swagger
Releases · mtrajano/laravel-swagger
v0.6.4
v0.7.0-alpha
Added
- Added schema definitions for models (Defined on
@model
annotation on methods or controller). - Parsing on model relationships (if methods have a
Relationship
return type hint) - Example data on fields (if model has a factory associated with them)
- Added responses based on routes http methods,
@throws
annotations andauth
middleware. - Added support to JWT authentication.
- Added Swagger UI with docs.
- Added docker environment for development support.
- Automatically will generate docs on public path depending on config,
/docs
route by default.
Changed
- Changed to get middlewares from controller too, instead of only from routes.
- Changed command usage to not print on console or set in file.
v0.6.3
v0.6.2
v0.6.1
v0.6.0
v0.5.2
v0.5.1
v0.5.0
Changed
parseDescriptions
config option was changed toparseDocBlock
parseDocBlock
now takes the first part of your docBlock as the summary ifparseDocBlock
is true, it will default to empty if false.parseDocBlock
will take the rest of the docBlock (other than annotations) as the route's description.depracated
will now default to false ifparseDocBlock
is false
v0.4.0
Added
- Ability to parse docBlock comments and add these to the route's description
- Deprecated key depending if there is a
@deprecated
annotation in the docBlock parseDescriptions
option that will let you turn off the docBlock parsing and will add an empty description
Changed
{REQUEST_METHOD} {PATH}
was previously stored in the route's description, this has been moved to the route's summary key