fresh
fresh copied to clipboard
Feat: Expose routes to be able to generate swagger docs etc
Feature request from twitter:
Is it possible to also generate openapi/swagger docs?
I think a good way to explore this would be a way to expose the final routes to plugins.
is it possible to get handlers from a plugin?
No, neither routes, not available handlers are exposed to plugins.
Something like https://github.com/tazo90/next-openapi-gen would be nice.