From 32c60285e397db85d9d1951ea577654623c81a36 Mon Sep 17 00:00:00 2001 From: Bogumil Zebek Date: Fri, 27 Mar 2020 09:27:39 +0100 Subject: [PATCH] Add swagger documentation Issue-ID: AAF-1107 Signed-off-by: Zebek Bogumil Change-Id: I3b22d2d17e4cec0f925e08e55c233f50f94f1e4b --- docs/sections/architecture.rst | 2 +- docs/sections/offeredapis.rst | 2 +- docs/sections/{openapi.yaml => resources/OpenAPI.yaml} | 0 docs/sections/{img => resources}/certservice_high_level.jpg | Bin 4 files changed, 2 insertions(+), 2 deletions(-) rename docs/sections/{openapi.yaml => resources/OpenAPI.yaml} (100%) rename docs/sections/{img => resources}/certservice_high_level.jpg (100%) 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 -- 2.16.6