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

Use multiple swagger.json files in the same page #18

Closed
Thibaudkhan opened this issue May 23, 2022 · 5 comments
Closed

Use multiple swagger.json files in the same page #18

Thibaudkhan opened this issue May 23, 2022 · 5 comments

Comments

@Thibaudkhan
Copy link

Hello,

I cannot use 2 json Files in the same page.md
Did I do something wrong ?

@blueswen
Copy link

@Thibaudkhan I created another MkDocs plugin to render Swagger UI https://github.com/blueswen/mkdocs-swagger-ui-tag. Which could render multiple Swagger UI in same page with different OpenAPI Spec file and supports build-in multiple OAS in single Swagger UI with top bar selector. Maybe my plugin could fit your requirement.

@bharel
Copy link
Owner

bharel commented Jul 31, 2022

Shouldn't be an issue, as I explicitly support it. What have you tried?

@ChrisChinchilla
Copy link

I have the same question and kind of prefer this plugin as it doesn't use iFrames, but @bharel how do you support it? I tried adding the tag twice and only the last spec is displayed

@bharel
Copy link
Owner

bharel commented Oct 7, 2023

Need to check if #26 fixed. Might have been an issue with the IDs.

@bharel
Copy link
Owner

bharel commented Oct 7, 2023

Yeah, #26 have fixed it.
@Thibaudkhan @ChrisChinchilla please check with latest version on master, will soon deploy for 0.1.1

@bharel bharel closed this as completed Oct 7, 2023
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

4 participants