OpenApiArray.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.
Write out contents of OpenApiArray to passed 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
Instance of JSON or YAML writer.
- specVersion
- OpenApiSpecVersion
Version of the OpenAPI specification that that will be output.