Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I set this up and use it? #67

Open
ghost opened this issue Oct 3, 2016 · 5 comments
Open

How can I set this up and use it? #67

ghost opened this issue Oct 3, 2016 · 5 comments

Comments

@ghost
Copy link

ghost commented Oct 3, 2016

Another post looking for some kind of installation guide, even very basic.

Thanks :)

@Gillardo
Copy link

This would be a help as I would like to use this

@ghost
Copy link
Author

ghost commented Nov 16, 2016

Hi Gillardo, I failed to get this working with Docker but I could serve it with gulp without too much difficulty. Install npm (node package manager) and then install gulp, then run gulp serve in the root directory. This will serve your webpage on localhost:8080. Then when you can see the UI, copy your own json file into the dist folder and change the file path in the top left of the UI to the file path of your json file. Then the UI will populate the swagger ui using your json file.

@Gillardo
Copy link

I got swaggerUI and swagger working in my aspnet core application, but how do i use this responsive theme?

@ghost
Copy link
Author

ghost commented Nov 16, 2016

Do you have a json file for your api? Put the json file in swagger-ui-master\dist and then in the top left of the jensoleg swaggerUI, change the file path to the path for your json file. Then click the arrow and the page will refresh using your new json file.
apidocsjson

@Gillardo
Copy link

I have no idea where my json file is? if i use the normal swagger UI, the url appears in the top and if i press browse it works, but i cannot find it on the file system, as i am guessing it is generated in memory.

But how do i install this responsive theme and use it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant