UNPKG

@apistudio/apim-cli

Version:

CLI for API Management Products

13 lines 352 B
kind: SetContextVariable apiVersion: api.webmethods.io/beta metadata: name: Custom Extension Policy version: 1 spec: enabled: true condition: | (${request.headers.test} equals test1) or (${request.headers.test} notEquals ${request.payload.jsonPath[$.customer.name]}) variable: - name: customerName value: ${request.headers.h1}