Open xC0dex opened 1 week ago
Update:
It looks like the preferredSecurityScheme
property partially started working again. Now the scheme will be selected, but I experience the same issue as described in https://github.com/scalar/scalar/issues/3377.
What happens?
Using the latest api reference
https://cdn.jsdelivr.net/npm/@scalar/api-reference
in theScalar.AspNetCore
package, I encountered thatpreferredSecurityScheme
andservers
properties are not working as expected.preferredSecurityScheme This bug was already reported #3264; however, it's not fixed on my end. Instead of preselecting the
ApiKey
scheme, its set to none.servers This property only sets the Base URL in the overview. But when you click the
Test Request
button, it ignores this property and uses the values from the OpenAPI document.The overview:
The api client:
What did you expect to happen?
When using a custom CDN Url with version
1.25.10
https://cdn.jsdelivr.net/npm/@scalar/api-reference@1.25.10
both properties start working again:preferredSecurityScheme
servers
OpenAPI Document
This bug is reproducible in the
Scalar.AspNetCore.Playground
project.