UNPKG

@apistudio/apim-cli

Version:

CLI for API Management Products

21 lines 561 B
# # Copyright IBM Corp. 2024, 2025 # kind: Route apiVersion: api.webmethods.io/beta metadata: name: "my-Straight-through-routing" spec: default-endpoint: $ref: default_endpoint conditional-endpoints: - condition: | "(${request.headers.test} equals test1) or (${request.headers.test} notEquals ${request.payload.jsonPath[$.customer.name]})" endpoint: $ref: "endpoint_sample" loadbalance-endpoints: - $ref: default_endpoint suspend-on-duration: 40s - $ref: endpoint_sample suspend-on-duration: 40s