aboutsummaryrefslogtreecommitdiffstats
path: root/docs/offeredapis.rst
diff options
context:
space:
mode:
authorlapentafd <francesco.lapenta@est.tech>2023-04-14 10:05:26 +0100
committerFrancesco Davide Lapenta <francesco.lapenta@est.tech>2023-04-14 09:31:58 +0000
commitfb7389919fb7e0e038267773c102f1cad4b9df71 (patch)
tree4d81abb31811f83e456fd6f2e7f7f4a97e6f35ea /docs/offeredapis.rst
parentbf7c499ac2bc5bc6246db96b0fc8314d4ed091e1 (diff)
Fix offeredapi documentation
Deleted repeted lines. Fixed missing body in Post requests in the generated swagger pages, added OpenApi 3 support. Issue-ID: POLICY-4581 Change-Id: Id7558efeb210457e4e9c79df5e6e155d1525d3d4 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Diffstat (limited to 'docs/offeredapis.rst')
-rw-r--r--docs/offeredapis.rst10
1 files changed, 2 insertions, 8 deletions
diff --git a/docs/offeredapis.rst b/docs/offeredapis.rst
index a9e34cc2..6bf3a6bd 100644
--- a/docs/offeredapis.rst
+++ b/docs/offeredapis.rst
@@ -53,9 +53,9 @@ OAS 3.0 is used to describe the API contracts, and those documents are added as
`Swagger Specification for Policy XACML-PDP <./xacml/local-swagger.html>`_
-`Swagger Specification for Policy ACM-R <./clamp/acm/api-protocol/local-swagger.html>`_
+`Swagger Specification for Policy DROOLS-PDP <./drools/local-swagger.html>`_
-`Swagger Specification for Policy DROOLS-PDP <https://github.com/onap/policy-drools-pdp/blob/master/feature-healthcheck/src/main/resources/openapi/openapi.yaml>`_
+`Swagger Specification for Policy ACM-R <./clamp/acm/api-protocol/local-swagger.html>`_
The YAML document can be also downloaded and imported in an web editor such as `Editor Swagger <https://editor.swagger.io/>`_
@@ -67,9 +67,3 @@ An "OpenApi first" approach is adopted, so starting from the Swagger document we
For Example ACM-Runtime endpoint
``http://<IP>:<PORT>/onap/policy/clamp/acm/v3/api-docs``
-
- The Swagger document can still be extracted from the code in the API that uses *Spring-Doc* dependency at the endpoint "../v3/api-docs/"
- For Example ACM-Runtime endpoint
-
- ``http://<IP>:<PORT>/onap/policy/clamp/acm/v3/api-docs``
-