Share via


OpenApiWriterAnyExtensions.WriteExtensions Method

Definition

Write the specification extensions

public static void WriteExtensions (this Microsoft.OpenApi.Writers.IOpenApiWriter writer, System.Collections.Generic.IDictionary<string,Microsoft.OpenApi.Interfaces.IOpenApiExtension> extensions, Microsoft.OpenApi.OpenApiSpecVersion specVersion);
static member WriteExtensions : Microsoft.OpenApi.Writers.IOpenApiWriter * System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Interfaces.IOpenApiExtension> * Microsoft.OpenApi.OpenApiSpecVersion -> unit
<Extension()>
Public Sub WriteExtensions (writer As IOpenApiWriter, extensions As IDictionary(Of String, IOpenApiExtension), specVersion As OpenApiSpecVersion)

Parameters

writer
IOpenApiWriter

The Open API writer.

extensions
IDictionary<String,IOpenApiExtension>

The specification extensions.

specVersion
OpenApiSpecVersion

Version of the OpenAPI specification that that will be output.

Applies to