Repository navigation
v3.1: fix parameter object and style defaults test fixtures - #5589
hardikkaurani wants to merge 4 commits into
Conversation
…ct-examples Signed-off-by: Hardik Kaurani <hardikkaurani1@gmail.com>
… to match spec Signed-off-by: Hardik Kaurani <hardikkaurani1@gmail.com>
Signed-off-by: Hardik Kaurani <hardikkaurani1@gmail.com>
…-defaults 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.
|
Hi @baywet, Following up on the recent schema test cleanups on
Verification:
Whenever you have a chance, I'd appreciate your review and feedback! Thanks! |
Summary
This PR fixes two test fixture discrepancies in
tests/schema/pass/:tests/schema/pass/parameter-object-examples.yaml:/user/{username}, the path parameter was namedusernameswith descriptionusernames to fetch.nameforin: pathmust correspond to the template expression occurring within the path field in the Paths Object (username), aligning with the examples in the specification text.nametousernameand description tousername to fetch.tests/schema/pass/style-defaults.yaml:headerparameter fixture incomponents.parametershadin: pathandrequired: true(likely a duplicate frompath_simple).intoheader, removedrequired: true(asrequireddefaults tofalsefor headers), and updatedx-commentto reflect expected defaults for header parameters (required=false, deprecated=false, style=simple, explode=false).Validation
yarn testpasses (55/55 tests passed).yarn validate-markdownpasses cleanly with zero issues.yarn build-srcpasses cleanly (HTML and schemas generated without errors).no schema changes are needed for this pull request