Skip to content

Conversation

@darrelmiller
Copy link
Member

Previously, OpenApiValidator only had the ability to report issues as Errors. This PR adds a Warnings property and allows validation rules to create warnings instead of errors.

All of the DataTypeMismatch rules have been updated to create Warnings instead of Errors.

OpenApiDiagnostic that is returned when parsing an OpenAPI document now has a list of Errors and a list of Warnings.

@darrelmiller darrelmiller added this to the 1.3 milestone Apr 9, 2022
@darrelmiller darrelmiller added the type:enhancement Enhancement request targeting an existing experience label Apr 9, 2022
@darrelmiller darrelmiller modified the milestone: 1.3 Apr 9, 2022
@darrelmiller darrelmiller merged commit 962b971 into vnext Apr 11, 2022
@darrelmiller darrelmiller deleted the fix/warnings branch April 11, 2022 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:enhancement Enhancement request targeting an existing experience

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants