feat(gateway): Unterstützung für 3-stufig verschachtelte API-Routen hinzugefügt
- Routenzuordnung für /api/{route1}/{route2}/{route3} hinzugefügt
- Ermöglicht Downstream-Routing zur Unterstützung komplexerer API-Strukturen
This commit is contained in:
@@ -98,6 +98,23 @@
|
||||
"Delete"
|
||||
]
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/api/{route1}/{route2}/{route3}",
|
||||
"DownstreamScheme": "https",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 7103
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/api/{route1}/{route2}/{route3}",
|
||||
"UpstreamhttpsMethod": [
|
||||
"Get",
|
||||
"Post",
|
||||
"Put",
|
||||
"Delete"
|
||||
]
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/",
|
||||
"DownstreamScheme": "http",
|
||||
|
||||
Reference in New Issue
Block a user