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
Parameters can be in the OAS at both endpoint level, and method level.
For parameters at method level, they are well taken into account in data mapping. However for endpoint level, they are not being filled at all.
I'm pretty sure it's valid in the OAS but I did not previously spend effort on supporting this. The OAS offers many options like this that generally not seen in production (since most OAS specs are generated by frameworks and not hand-crafted).
That being said, I can definitely see about supporting this if you need it (and a PR is of course welcome).
Hello,
Parameters can be in the OAS at both endpoint level, and method level.
For parameters at method level, they are well taken into account in data mapping. However for endpoint level, they are not being filled at all.
Example:
The library will only consider the header
method-specific-header
, not theendpoint-header
I'm not 100% sure that this kind of OAS is valid though :/
The text was updated successfully, but these errors were encountered: