Skip to content

ReadAsync method does not filter errors into errors and warnings as the Read method does #1003

@darrelmiller

Description

@darrelmiller

var openApiErrors = document.Validate(_settings.RuleSet);
foreach (var item in openApiErrors.Where(e => e is OpenApiValidatorError))
{
diagnostic.Errors.Add(item);
}
foreach (var item in openApiErrors.Where(e => e is OpenApiValidatorWarning))
{
diagnostic.Warnings.Add(item);
}

Both Read and ReadAsync should separate Errors and Warnings.

Metadata

Metadata

Labels

priority:p1High priority but not blocking. Causes major but not critical loss of functionality SLA <=7days

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions