TypeError: Failed to execute 'append' on 'Headers': Invalid name
Hi Team RapiDoc!
Thank you for an absolutely awesome Web Component that makes me look like a pro π¦ΈββοΈ
Having an issue with applying basic auth header. I looked at your test site with auth examples. Our config is identical IMHO.
I enter valid credentials that work fine when applied in Postman.
The error occurs when clicking the "Try" button.
Uncaught (in promise) TypeError: Failed to execute 'append' on 'Headers': Invalid name
at api-request.js:1116:1
at Array.forEach (<anonymous>)
at ne.onTryClick (api-request.js:1116:1)
at Z.handleEvent (rapidoc-min.js:2:14067)
Please let me know if this is an issue or if my config is incorrect. Guessing the latter π
I have the same problem. Did you reach any conclusion maybe?
Actually I did. It's important to not specify a name property in the security scheme
Hi @ramiel
Good detective work π¦ΈββοΈ My spec is auto generated. Is not specifying a name working for you and what are the side-effects of not having a name there for other tools do you think?
πΊπΏ
No important side effect. The name was shown in the interface but also used for the header. To have a proper interface you can use the description field