Repository navigation
v3.3: fix parameter object and style defaults test fixtures - #5591
Open
hardikkaurani wants to merge 3 commits into
Open
hardikkaurani wants to merge 3 commits into
hardikkaurani wants to merge 3 commits into
Conversation
…bject-examples
In /user/{username}, align parameter name and description with the path template expression per OAS §4.8.12 and spec examples.
Signed-off-by: Hardik Kaurani <hardikkaurani1@gmail.com>
…ixture Fix components.parameters.header location from path to header and remove required: true since header parameters default to required: false. Signed-off-by: Hardik Kaurani <hardikkaurani1@gmail.com>
… style-defaults Update x-comment to accurately document expected defaults for header parameters (required=false, deprecated=false, style=simple, explode=false). Signed-off-by: Hardik Kaurani <hardikkaurani1@gmail.com>
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
Author
|
As requested on #5589, this PR ports the parameter object example and style defaults test fixture corrections to All 107 schema tests pass cleanly. Thanks for the guidance! |
baywet
approved these changes
Nov 11, 2026
Author
|
@baywet Thanks for the approval. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Port of #5589 to
v3.3-dev, as requested by @karenetheridge. This PR fixes two test fixture discrepancies intests/schema/pass/:tests/schema/pass/parameter-object-examples.yaml/user/{username}, the path parameter was namedusernameswith the descriptionusernames to fetch.nameof anin: pathparameter must correspond to the template expression in the Paths Object (username), aligning with the examples in the specification.nametousernameand the description tousername to fetch.tests/schema/pass/style-defaults.yamlheaderparameter fixture incomponents.parametersincorrectly hadin: pathandrequired: true, likely copied frompath_simple.intoheader, removedrequired: true(sincerequireddefaults tofalsefor header parameters), and updatedx-commentto reflect the expected defaults:required=false,deprecated=false,style=simple, andexplode=false.Validation
yarn test— 107/107 tests passed.cc @karenetheridge @baywet