Share via


OpenApiWriterAnyExtensions.WriteAny<T>(IOpenApiWriter, T) Method

Definition

Write the IOpenApiAny value.

public static void WriteAny<T> (this Microsoft.OpenApi.Writers.IOpenApiWriter writer, T any) where T : Microsoft.OpenApi.Any.IOpenApiAny;
static member WriteAny : Microsoft.OpenApi.Writers.IOpenApiWriter * 'T -> unit (requires 'T :> Microsoft.OpenApi.Any.IOpenApiAny)
<Extension()>
Public Sub WriteAny(Of T As IOpenApiAny) (writer As IOpenApiWriter, any As T)

Type Parameters

T

The Open API Any type.

Parameters

writer
IOpenApiWriter

The Open API writer.

any
T

The Any value

Applies to