Swagger/OpenApi Definition Generator Plugin #8686
javierlinked
started this conversation in
Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Payload team and community,
First of all, thank you for the incredible work you’ve been doing with PayloadCMS. It’s been an essential part of my current projects, and I appreciate the continued improvements.
I’d like to propose a feature request for a plugin that generates Swagger (OpenAPI) definitions for Payload collections custom endpoints routes. There was an existing package, payload-tools, that provided this functionality. However, since it's no longer maintained, and with the recent changes to Next.js routing, it’s not just a matter of upgrading the references.
The idea is to build a plugin similar to payload-tools that can handle the updated routing system in Next.js and Payload 3.0. Ideally, this plugin would:
I’d love to hear your thoughts on this.
Thank you!
https://github.com/scalar/scalar/tree/main/packages/nextjs-openapi this could also be a good starting point.
Beta Was this translation helpful? Give feedback.
All reactions