laravel-swagger
laravel-swagger copied to clipboard
Increase documentation version
How it should works: on documentation saving, we should compare the current saving documentation with the actual documentation content. If there is some changes between them:
- actual documentation should be renamed to the configurable documentation file name with the version postfix (e.g.
documentation_0_0_1.json
) - the current saving documentation content should has the version param increased (let's use the patch version 0.0.1 -> 0.0.2 -> 0.0.3) and be saved with the configurable filename (e.g.
documentation.json
)