Skip to content

Is it possible to "skin" the swagger docs #44

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

Closed
aliuk2012 opened this issue Feb 23, 2016 · 2 comments
Closed

Is it possible to "skin" the swagger docs #44

aliuk2012 opened this issue Feb 23, 2016 · 2 comments

Comments

@aliuk2012
Copy link

Hi,

Is there some way of setting up up Swagger Docs rails so it can use other methods in my application?
Also I would like to reuse my default layout in app/views/layouts/application.html.haml, is this possible?

I do have swagger docs working and displaying but I would like to "skin" it to look like the rest of my application.

Many thanks

P.S relatively noobie rails developer

@dblock
Copy link
Member

dblock commented Feb 24, 2016

If you want your layout and UI parts, for now you just have to port the interesting parts into your application, see https://github.com/artsy/doppler/blob/master/app/views/playground/index.html.haml for example.

@dblock dblock closed this as completed Feb 24, 2016
@dblock
Copy link
Member

dblock commented Feb 24, 2016

Closed as duplicate of #27.

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

2 participants