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 Applies to
This method applies to the following types: