Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

describedBy is optional per spec and it's required in osprey #208

Open
1999 opened this issue Mar 11, 2020 · 2 comments
Open

describedBy is optional per spec and it's required in osprey #208

1999 opened this issue Mar 11, 2020 · 2 comments

Comments

@1999
Copy link

1999 commented Mar 11, 2020

Hey, thanks for an awesome library!
I have a question about describedBy.

each security scheme is supposed to have a "describedBy.headers" in osprey: https://github.com/mulesoft/osprey/blob/master/lib/server.js#L77

And in the spec, it's said to be optional: https://github.com/raml-org/raml-spec/blob/master/versions/raml-10/raml-10.md/#security-scheme-declaration

cc @nathys

@jstoiko
Copy link
Contributor

jstoiko commented Jul 28, 2020

Osprey v1.0.0 has been released and the underlying parser has changed so I would recommend you try to reproduce your issue with the latest version and let us know if the issue is still there or not.

@1999
Copy link
Author

1999 commented Aug 17, 2020

Sorry, "osprey" is not our direct dependency so this is not an easy way for us to go.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants