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 to render Swagger Docs? #719

Open
honigkuchenbaer opened this issue Jul 26, 2021 · 1 comment
Open

How to render Swagger Docs? #719

honigkuchenbaer opened this issue Jul 26, 2021 · 1 comment

Comments

@honigkuchenbaer
Copy link

Hi. Is it somehow possible to render a Swagger Docs document out of this plugin?

I know that we can find such a document at https://app.swaggerhub.com/apis/Sylius/sylius-shop-api/1.0.0.

But for our clients we want to provide such Swagger docs on our own site at an URL-path like https://domain.com/shop-api/docs.

How to do that? Thanks for any hint (I could not find anything in current documentation about this question)

@mamazu
Copy link
Member

mamazu commented Jul 27, 2021

Hello, the easiest solution to render the current version of the swagger definition as documentation is to go to editor.swagger.io and paste the content into the editor. But you are right we should definitely document 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

2 participants