OpenApiWriterAnyExtensions.WriteExtensions 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 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.