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

Cannot install and use

Open nicola883 opened this issue 9 years ago • 7 comments

I have downloaded the files but I am not able to get all working. I don't see any information to install the code. I have a swagger-ui running well and I have tried to take the code from your dist folder to replace the standard swagger-ui, but I get a not found error on javascript (http://localhost/swagger.json 404 (Not Found)), that is normal because all is located in a subdirectory. Is there some place to configure the paths? Is there another way to install? Many thanks for your help and for this important project.

nicola883 avatar Aug 03 '16 21:08 nicola883

I had this issue as well; I was deploying the dist folder into a subfolder in my web application, but the URL to the Swagger definition file is calculated as being the root of the web application, rather than being local to the index.html.

In the interest of just getting things done, I copied my Swagger definition to the expected location, and it all works beautifully. Now I can get on with serious stuff, like complaining about some of the JS statements in index.html not being terminated with semi-colons consistently :-). Or building the actual API!

davidkeaveny avatar Aug 17 '16 06:08 davidkeaveny

Any document on how to use it?

zh-wowtv avatar Aug 19 '16 02:08 zh-wowtv

Would like to see some documentation also!

S33G avatar Sep 19 '16 10:09 S33G

Hello. I'm missing documentation on usage too. I checked the Dockerfile to see that I can build the container and run it, but afterwards I couldn't connect to it to display the UI. Also it would be good to be able to specify path to swagger json file etc. I think many people will feel clueless about this library if there is nothing about installation and usage. Project seems to be really cool and I would be really happy seeing it going forward :) Please help by providing setup guide.

dgreda avatar Sep 19 '16 14:09 dgreda

Still missing a documentation!

SimonVillage avatar Oct 06 '17 07:10 SimonVillage

Why haven't you provided a installation guide. Its frustrating

codewithrajranjan avatar Oct 01 '18 09:10 codewithrajranjan

Please provide a documentation with installation guide so that it'll be easier to replace the default swagger ui with this one.

shubh453 avatar Feb 11 '19 19:02 shubh453