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

[3.0] Html output ? #942

Closed
magnetik opened this issue Jan 4, 2017 · 2 comments
Closed

[3.0] Html output ? #942

magnetik opened this issue Jan 4, 2017 · 2 comments

Comments

@magnetik
Copy link
Collaborator

magnetik commented Jan 4, 2017

Hey,

I find it disturbingly strange that there are no easy way to have a clean/nice HTML output from the swagger.

I've tested ReDoc (javascript), swagger2markup (java), bootprint-openapi (npm).
Since all theses solutions are not in PHP, it's sort of difficult to integrate it directly.

Is it out of the scope of the bundle ?

@GuilhemN
Copy link
Collaborator

GuilhemN commented Jan 4, 2017

I'd like to integrate swagger-ui directly in the bundle like Api-platform does but I try to focus on the php part for now.
However, PRs are welcome for that 😉

@GuilhemN
Copy link
Collaborator

Fixed in #948, you only need to load the route now:

NelmioApiDocBundle:
    resource: "@NelmioApiDocBundle/Resources/config/routing/swaggerui.xml"
    prefix:   /api/doc

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