mkdocs-render-swagger-plugin icon indicating copy to clipboard operation
mkdocs-render-swagger-plugin copied to clipboard

Use multiple swagger.json files in the same page

Open Thibaudkhan opened this issue 3 years ago • 3 comments

Hello,

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

Thibaudkhan avatar May 23 '22 15:05 Thibaudkhan

@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.

blueswen avatar Jun 21 '22 15:06 blueswen

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

bharel avatar Jul 31 '22 08:07 bharel

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

ChrisChinchilla avatar Aug 25 '22 12:08 ChrisChinchilla

Need to check if https://github.com/bharel/mkdocs-render-swagger-plugin/pull/26 fixed. Might have been an issue with the IDs.

bharel avatar Oct 07 '23 04:10 bharel

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

bharel avatar Oct 07 '23 04:10 bharel