Add and Remove Prefix
Path and proxy structure let you add prefixes to path before passing request to servers.
{
...
"servers": [
{
"alias": "prefixing",
"url": "https://sub.serverlessapigw.com/prefix/"
},
...
],
...
"paths": [
{
"method": "GET",
"path": "/{.+}",
"integration": {
"type": "http_proxy",
"server": "prefixing"
}
},
```Last updated