Share via


OpenApiWriterExtensions.WriteRequiredProperty Method

Definition

Write required string property.

public static void WriteRequiredProperty (this Microsoft.OpenApi.Writers.IOpenApiWriter writer, string name, string value);
static member WriteRequiredProperty : Microsoft.OpenApi.Writers.IOpenApiWriter * string * string -> unit
<Extension()>
Public Sub WriteRequiredProperty (writer As IOpenApiWriter, name As String, value As String)

Parameters

writer
IOpenApiWriter

The writer.

name
String

The property name.

value
String

The property value.

Applies to