OpenApiWriterExtensions.WriteRequiredProperty 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.
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.