Closed ksaaskil closed 4 years ago
Adds the admin API, closes #376.
Get all services:
$ curl http://localhost:8888/services
Post a new service with name my-service:
my-service
$ curl -X POST http://localhost:8888/services/my-service -H "Content-Type: application/json" --data "@/path/to/openapi.json"
Note that this doesn't yet accept YAML.
Get OpenAPI schema for service with name my-service:
$ curl http://localhost:8888/services/my-service
express
koa
nest.js
Adds the admin API, closes #376.
Endpoints
Get all services:
Post a new service with name
my-service
:Note that this doesn't yet accept YAML.
Get OpenAPI schema for service with name
my-service
:TODO
express
likekoa
ornest.js