Closed 0x1306e6d closed 4 years ago
Loading configuration from file would make separate configuration from source code. First, support json file and yaml later. Here is an example:
json
yaml
{ "endpoints": [ { "method": "GET", "path": "/api/v2/berry/{idOrName}", "services": [ { "uri": "http://berry:9080", "endpoint": { "path": "/berry/{idOrName}" } } ] } ] }
Loading configuration from file would make separate configuration from source code. First, support
json
file andyaml
later. Here is an example: