Skip to content

Conversation

@karenetheridge
Copy link
Member

@karenetheridge karenetheridge commented Oct 30, 2025

direct port of #5080, with merge conflicts resolved.

I have been working through the parameter templating section and filling in some of the styles that I had not previously implemented, and cross-checking against RFC6570, and I found these issues with the "in: path" styles.

Each commit explains the reasoning for the change.

  • no schema changes are needed for this pull request

RFC6570 section 3.2.1 says:
"A variable that is undefined (Section 2.3) has no value and is ignored by the
expansion process.  If all of the variables in an expression are undefined,
then the expression's expansion is the empty string."

..therefore the provided examples for the "matrix" and "label" styles are
incorrect -- the full expansion is the empty string, with no leader/prefix.
Expansions using "style": "simple", "explode": true do not include the
parameter name in the expansion.
@karenetheridge karenetheridge requested review from a team as code owners October 30, 2025 18:22
@ralfhandl ralfhandl requested a review from a team October 30, 2025 19:38
@miqui miqui merged commit 987903c into OAI:v3.1-dev Nov 2, 2025
2 checks passed
@karenetheridge karenetheridge deleted the ether/3.1-parameter-styles branch November 2, 2025 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants