You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Initialize a fern project with an OpenAPI file that has a security scheme with type: http, scheme: Bearer. Make sure to capitalize the "B" in "Bearer".
Run fern check
Expected behavior
No errors reported, because the value of the scheme field is case-insensitive. This is per RFC 7235 Section 2.1 and was clarified in the recent 3.0.4 and 3.1.1 point releases of the spec [ref].
Actual behavior
fern check issues this message:
[api]: Failed to convert security scheme {"type":"http","scheme":"Bearer"}
but if the value of scheme is changed to "bearer", fern check completes with no errors
4. Environment
Which Fern component?
Fern CLI
How urgent is this?
P3 - Low (Nice to have)
What's the issue?
type: http, scheme: Bearer
. Make sure to capitalize the "B" in "Bearer".fern check
scheme
field is case-insensitive. This is per RFC 7235 Section 2.1 and was clarified in the recent 3.0.4 and 3.1.1 point releases of the spec [ref].fern check
issues this message:but if the value of
scheme
is changed to "bearer",fern check
completes with no errors4. Environment
Workaround
Use
scheme: bearer
with lowercase "b".Logs & Additional Context
No response
The text was updated successfully, but these errors were encountered: