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
@philsturgeon asked me to open this after discussing on Slack.
Implementing a security scheme with a custom schema type should technically be possible. The OpenAPI spec only says the scheme SHOULD be registered in the IANA registry, not that it MUST.
Related: Any description you add to a security scheme gets rendered, but it also renders Element's default description, which could have contradicting statements. If you provide your own description, I don't think Element should render the default one.
Describe the solution you'd like
It would be great if it accepted the custom type!
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
@philsturgeon asked me to open this after discussing on Slack.
Implementing a security scheme with a custom schema type should technically be possible. The OpenAPI spec only says the scheme SHOULD be registered in the IANA registry, not that it MUST.
So this should work:
However it only renders as:
“auth coming soon”
.Related: Any description you add to a security scheme gets rendered, but it also renders Element's default description, which could have contradicting statements. If you provide your own description, I don't think Element should render the default one.
Describe the solution you'd like
It would be great if it accepted the custom type!
The text was updated successfully, but these errors were encountered: