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:
Martin Sehnoutka 2021-02-05 17:13:22 +01:00 committed by Ondřej Budai
parent f56a07472a
commit f98e231f64
8 changed files with 377 additions and 1 deletions

View file

@ -0,0 +1,6 @@
# CloudAPI now supports /openapi.json and /version endpoints
These endpoints are useful for deployment in the cloud.redhat.com platform.
The platform will use data from the /openapi.json endpoint to automatically
generate documentation for the REST API. A user can see the documentation
in the cloud.redhat.com web console.