OpenAPI-Specification
OpenAPI-Specification copied to clipboard
3.0.3 Callback Object - Key Expression - one-off-error in expression example
The second-to-last entry in the examples table of section Key Expression should be
Expression | Value |
---|---|
$request.body#/successUrls/1 | http://clientdomain.com/medium |
RFC6901 uses zero-based indexing, so 1 references the second item in an array.
Thanks. Do you have time to PR a change? We don't have an open 3.0.4 branch at the moment, but as this is the first time this has been noticed, I think it could just go into 3.1.0
Ok, finally got around to it:
- created https://github.com/OAI/OpenAPI-Specification/pull/2920 for v3.1.1
- created https://github.com/OAI/OpenAPI-Specification/pull/2921 for v3.2.0
@darrelmiller please review.
Thanks in advance!
Applied to 3.1.1-dev and 3.0.4-dev