Open Source API Gateway

operations

Version

Configures which WSDL operations are exposed via OpenAPI. Add one attribute per operation you want to expose, naming it after the WSDL operation and giving it an OperationSettings value. Omitting this element exposes every WSDL operation with default settings. See tutorials/wsdl-to-openapi/20-WSDL-to-OpenAPI-REST.yaml.

Example Configuration

operations:
getPartner:
method: GET
path: /partners/{id}
tag: Partner
createPartner:
method: POST
path: /partners
status: 201
tag: Partner
operations:
   getPartner:
     method: GET
     path: /partners/{id}
     tag: Partner
   createPartner:
     method: POST
     path: /partners
     status: 201
     tag: Partner

Syntax

operations:
<operation>:
'$ref': <string>
flow:
- <flow>
method: <string>
path: <string>
status: <int>
tag: <string>
operations:
  <operation>:
    '$ref': <string>
    flow:
      - <flow>
    method: <string>
    path: <string>
    status: <int>
    tag: <string>

Can be used in