I have Swagger UI working with an existing webapp by copying the dist 
directory to the same location as other static web content. I can access 
files in this location from a browser, the page generated from my yaml file 
works. So far, so good. 

But I've been asked if I can change my integration so Swagger UI can be 
updated by npm, rather than manually updating the contents of dist in our 
repo when there's a new version.

I don't know how npm works, but I don't see anything that suggests it's 
capable of only installing part of a package. And I'm not comfortable 
installing the full Swagger UI package in a web-accessible location so the 
dist directory content is usable. (If even npm will do this.)

How do folks manage Swagger UI upgrades? 

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to swagger-swaggersocket+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to