AzureApiManagementApiResource.WithOpenApiEndpoint

Method
📦 Aspire.Hosting.Azure.ApiManagement v17.0.0-preview.1.26567.5
type AzureApiManagementApiResource interface {
// ... omitted for brevity
WithOpenApiEndpoint(options ...*WithOpenApiEndpointOptions) AzureApiManagementApiResource
}

Signature

methodWithOpenApiEndpointbuilder
Imports an OpenAPI document exposed by the API's target compute resource.
WithOpenApiEndpoint(options ...*WithOpenApiEndpointOptions) AzureApiManagementApiResource
options...*WithOpenApiEndpointOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithOpenApiEndpointOptions argument.

DocumentPath*stringThe absolute path of the OpenAPI endpoint, such as /openapi/v1.json.
EndpointName*stringThe target endpoint name. An external HTTP or HTTPS endpoint is selected when omitted.
Format*AzureApiManagementOpenApiFormatThe document format. The endpoint path extension is used when omitted.
AzureApiManagementApiResource

The API Management API resource builder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: