OpenApiObject.Write(IOpenApiWriter, OpenApiSpecVersion) 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.
Serialize OpenApiObject to writer
public void Write (Microsoft.OpenApi.Writers.IOpenApiWriter writer, Microsoft.OpenApi.OpenApiSpecVersion specVersion);
abstract member Write : Microsoft.OpenApi.Writers.IOpenApiWriter * Microsoft.OpenApi.OpenApiSpecVersion -> unit
override this.Write : Microsoft.OpenApi.Writers.IOpenApiWriter * Microsoft.OpenApi.OpenApiSpecVersion -> unit
Public Sub Write (writer As IOpenApiWriter, specVersion As OpenApiSpecVersion)
Parameters
- writer
- IOpenApiWriter
- specVersion
- OpenApiSpecVersion
Version of the OpenAPI specification that that will be output.