You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see there are options exposeApiDocs and apiDocsPath, but the question, is it possible to write generated spec to file without running the express app?
This is very useful if you want to create script to generate spec and you don't need to run app with all dependencies.
The text was updated successfully, but these errors were encountered:
@mforell my build system is a bit different, but what I did was add the swagger generation command to my package.json script which runs my generation code. I'd suggest doing something like this before the webpack build command (or however else you do it)
I see there are options
exposeApiDocs
andapiDocsPath
, but the question, is it possible to write generated spec to file without running the express app?This is very useful if you want to create script to generate spec and you don't need to run app with all dependencies.
The text was updated successfully, but these errors were encountered: