tkeidar
4 years agoVisitor
automatically ensure openapi.json matches my Express API endpoints
Hello,
I have an API server written in Typescript with Express and I'm currently writing the openapi.json V3 file with all the documentation.
1. Is there a better way to generate the openapi.json file automatically?
2. Is there a way to run some kind of script to validate that the current openapi.json file matches my codebase? I'd like to run it on my CI/CD process to ensure the documentation is always up to date.
Thanks!