fresh icon indicating copy to clipboard operation
fresh copied to clipboard

Feat: Expose routes to be able to generate swagger docs etc

Open marvinhagemeister opened this issue 2 years ago • 3 comments

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.

marvinhagemeister avatar Aug 16 '23 20:08 marvinhagemeister

is it possible to get handlers from a plugin?

fdemir avatar Aug 17 '23 13:08 fdemir

No, neither routes, not available handlers are exposed to plugins.

marvinhagemeister avatar Aug 17 '23 14:08 marvinhagemeister

Something like https://github.com/tazo90/next-openapi-gen would be nice.

joeky888 avatar Mar 14 '25 23:03 joeky888