cloudapi: extend the API spec with /version and /openapi.json
These endpoints are useful for clients while exploring the API. They are also required for deploying the service into clouddot.
This commit is contained in:
parent
f56a07472a
commit
f98e231f64
8 changed files with 377 additions and 1 deletions
1
go.mod
1
go.mod
|
|
@ -14,6 +14,7 @@ require (
|
|||
github.com/coreos/go-semver v0.3.0
|
||||
github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f
|
||||
github.com/deepmap/oapi-codegen v1.3.12
|
||||
github.com/getkin/kin-openapi v0.13.0
|
||||
github.com/go-chi/chi v4.0.2+incompatible
|
||||
github.com/gobwas/glob v0.2.3
|
||||
github.com/google/go-cmp v0.3.1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue