Share via


ValidationContextExtensions.CreateWarning Method

Definition

Helper method to simplify validation rules

public static void CreateWarning (this Microsoft.OpenApi.Validations.IValidationContext context, string ruleName, string message);
static member CreateWarning : Microsoft.OpenApi.Validations.IValidationContext * string * string -> unit
<Extension()>
Public Sub CreateWarning (context As IValidationContext, ruleName As String, message As String)

Parameters

ruleName
String
message
String

Applies to