Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle all success codes as success #1837

Merged
merged 1 commit into from
Feb 27, 2023

Conversation

peombwa
Copy link
Member

@peombwa peombwa commented Feb 24, 2023

This PR fixes #1834 by ensuring we treat all success status codes as 2XX to avoid mismatch as pointed out in the issue. The PR updates TweakOpenApi.ps1, which is called after OpenAPI documents refresh, to change all success status codes as 2XX to avoid throwing an error when a response is successful.

@timayabi2020 timayabi2020 merged commit 78cf166 into features/2.0 Feb 27, 2023
@peombwa peombwa deleted the bugfixes/HandleAllSuccessCodesAsSuccess branch March 10, 2023 19:25
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.

2 participants