From: Bogumil Zebek Date: Fri, 27 Mar 2020 08:27:39 +0000 (+0100) Subject: Add swagger documentation X-Git-Tag: 1.0.0~23 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=32c60285e397db85d9d1951ea577654623c81a36;p=oom%2Fplatform%2Fcert-service.git Add swagger documentation Issue-ID: AAF-1107 Signed-off-by: Zebek Bogumil Change-Id: I3b22d2d17e4cec0f925e08e55c233f50f94f1e4b --- diff --git a/docs/sections/architecture.rst b/docs/sections/architecture.rst index 654208d1..9b1b481e 100644 --- a/docs/sections/architecture.rst +++ b/docs/sections/architecture.rst @@ -12,7 +12,7 @@ End component is an ONAP component (e.g. DCAE collector or controller) which req to protect external traffic and uses CertService's client to get it. CertService's client communicates with CertService via REST API over HTTPS, while CertService with CMPv2 server via CMP over HTTP. -.. image:: img/certservice_high_level.jpg +.. image:: resources/certservice_high_level.jpg :width: 855px :height: 178px :alt: Interaction between components diff --git a/docs/sections/offeredapis.rst b/docs/sections/offeredapis.rst index fe5807a8..31e53bc5 100644 --- a/docs/sections/offeredapis.rst +++ b/docs/sections/offeredapis.rst @@ -8,4 +8,4 @@ Offered APIs AAF Cert Service Api -------------------- -.. openapi:: ../../certService/OpenAPI.yaml +.. openapi:: resources/OpenAPI.yaml diff --git a/docs/sections/openapi.yaml b/docs/sections/resources/OpenAPI.yaml similarity index 100% rename from docs/sections/openapi.yaml rename to docs/sections/resources/OpenAPI.yaml diff --git a/docs/sections/img/certservice_high_level.jpg b/docs/sections/resources/certservice_high_level.jpg similarity index 100% rename from docs/sections/img/certservice_high_level.jpg rename to docs/sections/resources/certservice_high_level.jpg