Automatic API Documentation Generation #730
Closed
rajubeparybd
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It would be helpful if Laravel Restify could provide a way to generate API documentation automatically based on registered repositories.
Currently, Restify makes it very easy to expose models as JSON:API endpoints, but there is no built-in support for documenting those endpoints. This requires developers to maintain documentation manually, which can easily become outdated.
Proposal
Provide a simple way to generate API docs from Restify metadata (repositories, fields, filters, relationships).
Example options:
Artisan command:
Output formats (Any of them):
Expected Coverage
Why this fits Restify
Restify already defines API structure through repositories, so the required metadata is available. Leveraging this would allow consistent, zero-maintenance documentation.
Beta Was this translation helpful? Give feedback.
All reactions