irensaltali / serverlessapigateway

Serverless API Gateway
https://serverlessapigateway.com/
Other
62 stars 10 forks source link

Proxy path takes over exact path #39

Closed irensaltali closed 8 months ago

irensaltali commented 8 months ago

In following config /api/webhook/workflow path should not match with proxy path.

{
    "method": "ANY",
    "path": "/api/webhook/{.+}",
    "integration": {
        "type": "http_proxy",
        "server": "api"
    },
    "auth": true
},
{
    "method": "ANY",
    "path": "/api/webhook/workflow",
    "integration": {
        "type": "http",
        "server": "workflow"
    },
    "auth": false
},