Skip to content

Conversation

@tvhees
Copy link
Contributor

@tvhees tvhees commented Aug 31, 2025

Description of the proposed changes

This PR fixes an issue with type inference for optional requestBody specs.

Previously an optional requestBody would be treated as none at all - leading to invalid type errors for operations like POST catalog/products/metafields.

I've also tidied and documented a number of types for continuous improvement purposes.

Notes to reviewers

🛈 When you've finished leaving feedback, please add a final comment to the PR tagging the author, letting them know that you have finished leaving feedback

tvhees added 4 commits August 30, 2025 17:49
- Add a test for a post request with optional requestBody
- Modify requestBody inference to pass
- Minor cleanup of types
@tvhees tvhees requested a review from a team as a code owner August 31, 2025 10:34
@tvhees tvhees requested review from Zigr1, alan-chen-aligent, jacob-ling-aligent, kai-nguyen-aligent and toddhainsworth and removed request for a team August 31, 2025 10:34
@tvhees tvhees merged commit dd388d1 into release/1.1.1 Aug 31, 2025
2 checks passed
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