swagger-ui
swagger-ui copied to clipboard
How to re-publish updated source?
Can anyone guide me please, how to publish swagger (getting and updated /dist) after adding come custom code in template (src/main/template) files?
I believe the command is 'gulp dist' (must have gulp and associated plug-ins installed via npm) but it completely breaks when I run it. Be sure to have a backup of the dist folder.
This is what it looks like when I run 'gulp dist':

After testing some more, it seems you just run 'gulp' but it still breaks. Chrome shows an error about not being able to generate the swagger ui javascript file.