Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optic for documentation #479

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ukmadlz
Copy link

@ukmadlz ukmadlz commented Jul 20, 2021

Solution for #355

Thanks for making a really awesome rest boilerplate, I really appreciate how useful it is to have a drag and drop starter for new APIs and apps.

I've added Optic as an alternative to apiDoc, as the middleware is non-intrusive and it allows you to capture the API endpoints as you develop the app (including changes). You can then use api generate:oas to get an OpenAPI as part of the process. I've gone ahead and added the middleware and the pointers in the README, I've set it to only run in non-production setups with minimal hassle and to not get in the way of the users flow if they don't want to use the tooling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant