zem83
zem83
Hi @farhan-ejaz, I don't know if it's the correct way to do it, but I have a dropdown in my page (the dropdown options value are my json urls) and...
@edesdan, I have both (jqDom_id and my-dropdown-jqEl) defined into the same HTML page, like this: ``` /api/v1 /api/v2 ``` and then into the js file I have the swaggerUI init...
@edesdan, yes I saw that feature (and I'm sorry because I forgot to mention it in my answer xD) but I need to use a special style for the dropdown...
I init my Swagger UI `const ui = SwaggerUIBundle({ url: '', dom_id: jqDom_id, presets: [ SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset ], plugins: [ SwaggerUIBundle.plugins.DownloadUrl ], layout: "StandaloneLayout", validatorUrl: null, operationsSorter: "alpha" }) window.ui...
Maybe depends on the wrong name of your authorization spec? Are you sure that is 'api_key'? Try to have a look at the issue #2915 (the third comment of fernandocamargoti)
Good :)