OpenApiWriterAnyExtensions.WriteAny<T>(IOpenApiWriter, T) 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 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