AzureApiManagementApiResource.withOpenApiDocument
Method
interface AzureApiManagementApiResource { // ... omitted for brevity withOpenApiDocument( documentPath: string, format?: AzureApiManagementOpenApiFormat): AzureApiManagementApiResource;}Signature
method
withOpenApiDocument builderImports an OpenAPI document from a file into an API.
withOpenApiDocument( documentPath: string, format?: AzureApiManagementOpenApiFormat): AzureApiManagementApiResourceParameters
documentPath stringThe document path, relative to the AppHost directory when not absolute.formatAzureApiManagementOpenApiFormat optionalThe document format. The file extension is used when omitted.Returns
AzureApiManagementApiResource Defined on
This method is defined on the following type: