AzureApiManagementApiResource.WithOpenApiEndpoint
Method
type AzureApiManagementApiResource interface { // ... omitted for brevity WithOpenApiEndpoint(options ...*WithOpenApiEndpointOptions) AzureApiManagementApiResource}Signature
method
WithOpenApiEndpoint builderImports an OpenAPI document exposed by the API's target compute resource.
WithOpenApiEndpoint(options ...*WithOpenApiEndpointOptions) AzureApiManagementApiResourceParameters
options...*WithOpenApiEndpointOptions Optional settings, described under Options.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*AzureApiManagementOpenApiFormat The document format. The endpoint path extension is used when omitted.Returns
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: