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

Allow hidi to transform an OpenAPI 3.1 document #1854

Merged
merged 2 commits into from
Oct 3, 2024

Conversation

MaggieKimani1
Copy link
Contributor

Fixes #1852

Copy link

sonarqubecloud bot commented Oct 2, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
53.3% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

@MaggieKimani1 MaggieKimani1 merged commit 7261ad9 into release/2.0.0 Oct 3, 2024
8 of 9 checks passed
@MaggieKimani1 MaggieKimani1 deleted the mk/allow-hidi-to-emit-31 branch October 3, 2024 08:18
{
return OpenApiSpecVersion.OpenApi2_0;
}
throw new InvalidOperationException("Invalid version format. Please provide a valid OpenAPI version (e.g., 2.0, 3.0, 3.1).");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we also add another check like the previous one to validate that the major version is between 2 and 3?

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