OpenAPI-Specification icon indicating copy to clipboard operation
OpenAPI-Specification copied to clipboard

3.0.3 Callback Object - Key Expression - one-off-error in expression example

Open ralfhandl opened this issue 4 years ago • 2 comments

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.

ralfhandl avatar Feb 29 '20 12:02 ralfhandl

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

MikeRalphson avatar Feb 29 '20 13:02 MikeRalphson

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!

ralfhandl avatar Apr 28 '22 07:04 ralfhandl

Applied to 3.1.1-dev and 3.0.4-dev

ralfhandl avatar Mar 24 '23 09:03 ralfhandl