aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorPiotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com>2021-04-21 15:30:05 +0200
committerPiotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com>2021-04-23 09:17:39 +0200
commit85da74a2400f92d26605ce1da5fef2bd8783d654 (patch)
tree6dc50e721356c82cf56ea1f2937adf0966fc98f4 /README.md
parentcd1fa6fcf91b8f233bd911446aad47fbc6ec70f6 (diff)
Add Swagger and OpenAPI description
Issue-ID: SDC-3185 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: Ib6371ec21ad8331124efd1fd15d2e82364c10e39
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index d95c4e4..44770c5 100644
--- a/README.md
+++ b/README.md
@@ -43,6 +43,8 @@ or run container with LOG_LEVEL ENV
```
docker run -p 8080:8080 -e LOG_LEVEL=INFO onap/org.onap.sdc.sdc-helm-validator:latest
```
+##### API documentation
+Swagger UI is available on endpoint: /docs. OpenAPI.yaml in the main directory contains OpenAPI 3.0.1 definition.
## Available endpoints
* Chart validation:
@@ -83,3 +85,7 @@ Json with the following fields:
Following Json:
[ARRAY OF STRINGS] - supported helm versions
+
+* Swagger UI [GET]
+
+ `http://localhost:[PORT]/docs