swagger-ui icon indicating copy to clipboard operation
swagger-ui copied to clipboard

How to re-publish updated source?

Open sohailrazaqau opened this issue 8 years ago • 2 comments

Can anyone guide me please, how to publish swagger (getting and updated /dist) after adding come custom code in template (src/main/template) files?

sohailrazaqau avatar Mar 24 '17 17:03 sohailrazaqau

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': image

rbwrightjr91 avatar Jun 06 '17 17:06 rbwrightjr91

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.

rbwrightjr91 avatar Jun 06 '17 18:06 rbwrightjr91