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
{{ message }}
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
Cannot find anything wrong with RAML, it seems parser contradicts description given in specification that it is possible to override security scheme parameter.
The text was updated successfully, but these errors were encountered:
I have not noticed at first, that you're trying to use scope setting within a custom security scheme.
Raml does not support settings for custom security schemes, so, you have to somehow reimplement your security scheme as Oauth 2.0.
x- authentication methods do not have any specific settings defined, as the implementation of these methods is unknown as a standard to RAML.
It says there is no specific settings, by my understanding it means "no validation/use as you want".
If it's possible, could you explain it more clearly?
Note that raml-js-parser-2 has been deprecated, the new official parser is webapi-parser. Feel free to attempt to reproduce this issue with webapi-parser and report any issue you may have on that repository.
Followed by https://github.com/raml-org/raml-spec/blob/master/versions/raml-10/raml-10.md/#settings I created custom JWT security scheme and want to apply it with some overridden parameters as described in https://github.com/raml-org/raml-spec/blob/master/versions/raml-10/raml-10.md/#applying-security-schemes
Take this RAML as example:
When parsed, it gives error:
Cannot find anything wrong with RAML, it seems parser contradicts description given in specification that it is possible to override security scheme parameter.
The text was updated successfully, but these errors were encountered: