IValidationContext.AddWarning(OpenApiValidatorWarning) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Register a warning with the validation context.
public void AddWarning (Microsoft.OpenApi.Validations.OpenApiValidatorWarning warning);
abstract member AddWarning : Microsoft.OpenApi.Validations.OpenApiValidatorWarning -> unit
Public Sub AddWarning (warning As OpenApiValidatorWarning)
Parameters
- warning
- OpenApiValidatorWarning
Warning to register.