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

Feature/idp 1028 treat warning as error flag #40

Merged
merged 13 commits into from
Mar 18, 2024

Conversation

PrincessMadMath
Copy link
Contributor

@PrincessMadMath PrincessMadMath commented Mar 14, 2024

Description of changes

Support the property. If OasDiff or Spectral step validation fail it will log errror instead of warning.

Add option to opt-out with OpenApiIgnoreErrors

Breaking changes

Yes, if this library was logging warning in a current project and they use the TreatWarningsAsErrors flag it will fail their build.

Additional checks

  • Updated the documentation of the project to reflect the changes
  • Added new tests that cover the code changes

@PrincessMadMath PrincessMadMath requested a review from a team as a code owner March 14, 2024 19:19
PrincessMadMath and others added 3 commits March 15, 2024 14:38
…Build.targets

Co-authored-by: Anthony Simmon <anthony.simmon@gsoft.com>
Run-SystemTest.ps1 Outdated Show resolved Hide resolved
src/Workleap.OpenApi.MSBuild/OasdiffManager.cs Outdated Show resolved Hide resolved
src/Workleap.OpenApi.MSBuild/ValidateOpenApiTask.cs Outdated Show resolved Hide resolved
src/Workleap.OpenApi.MSBuild/ValidateOpenApiTask.cs Outdated Show resolved Hide resolved
src/Workleap.OpenApi.MSBuild/ValidateOpenApiTask.cs Outdated Show resolved Hide resolved
PrincessMadMath and others added 3 commits March 18, 2024 13:43
Co-authored-by: heqianwang <158102624+heqianwang@users.noreply.github.com>
@PrincessMadMath PrincessMadMath merged commit 7d5a6d2 into main Mar 18, 2024
3 checks passed
@PrincessMadMath PrincessMadMath deleted the feature/idp-1028_treat_warning_as_error_flag branch March 18, 2024 18: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.

3 participants