Authorization panel not displayed in TryIt when usng an OpenApi 3.0 spec document.
When using the Element UI web component. I do not get the authorization panel when using a OpenAPI version 3.0 document. My authorization is set to basic auth which looks like it supported by the code. However, it looks like the code is expecting the spec to be in a different format than what is available from the OpenAPI spec version 3.
Context
My users cannot use the try it feature since they cannot provide authentication information.
Expected Behavior
The Try It view should show the Authorization panel.
Steps to Reproduce
Using the attached OpenAPI spec configure the web component like so.
<elements-api
id="elementsApi"
apiDescriptionUrl="openapi.json"
router="hash"
tryItCredentialPolicy="include"
></elements-api>
File was renamed to .txt so it would be allowed by github. You will need to rename to .json. openapi.txt
I have the same problem, have you found a workaround for this bug?
(my openapi.json is automatically generated and I have no choice but to use openapi 3.0.0.)
I have the same problem, have you found a workaround for this bug?
(my openapi.json is automatically generated and I have no choice but to use openapi 3.0.0.)
I have not. I looked into fixing the code and submitting a patch. But I have not had time. At this point I have been thinking about switching to https://github.com/Redocly/redoc