Releases: mtrajano/laravel-swagger
Releases · mtrajano/laravel-swagger
v0.6.4
v0.7.0-alpha
Added
- Added schema definitions for models (Defined on
@modelannotation on methods or controller). - Parsing on model relationships (if methods have a
Relationshipreturn type hint) - Example data on fields (if model has a factory associated with them)
- Added responses based on routes http methods,
@throwsannotations andauthmiddleware. - 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,
/docsroute 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
parseDescriptionsconfig option was changed toparseDocBlockparseDocBlocknow takes the first part of your docBlock as the summary ifparseDocBlockis true, it will default to empty if false.parseDocBlockwill take the rest of the docBlock (other than annotations) as the route's description.depracatedwill now default to false ifparseDocBlockis 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
@deprecatedannotation in the docBlock parseDescriptionsoption 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