#Swagger create definition via command line
5 messages · Page 1 of 1 (latest)
The application has to bootstrap in order to generate the swagger spec. What we did is create a separate entry point that can be called via the command line, which bootstraps the app, saves the swagger json and then exists (without triggering either init or listen on the app)
That sounds perfect for my scenario; do you maybe have a code sample?