diff options
author | 2023-04-14 17:10:35 +0000 | |
---|---|---|
committer | 2023-04-14 17:10:35 +0000 | |
commit | 9446dc85cf08705bc54f5f14aa3c679b1191a619 (patch) | |
tree | 892ecd63064bd46ad88944647df34fbc221a5d8b /docs/conf.py | |
parent | 0fb2d6e3dec60ea19d916da57cfde4ee098fca83 (diff) | |
parent | fb7389919fb7e0e038267773c102f1cad4b9df71 (diff) |
Merge "Fix offeredapi documentation"
Diffstat (limited to 'docs/conf.py')
-rw-r--r-- | docs/conf.py | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/docs/conf.py b/docs/conf.py index 367166bf..a43b3055 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -27,13 +27,14 @@ extensions = [ 'sphinxcontrib.redoc' ] +redoc_uri = 'https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js' + redoc = [ { 'name': 'Policy API', 'page': 'api/local-swagger', 'spec': 'https://raw.githubusercontent.com/onap/policy-api/master/main/src/main/resources/openapi/openapi.yaml', 'opts': { - 'lazy-rendering': True, 'suppress-warnings': True, 'hide-hostname': True, } @@ -43,7 +44,6 @@ redoc = [ 'page': 'pap/local-swagger', 'spec': 'https://raw.githubusercontent.com/onap/policy-pap/master/main/src/main/resources/openapi/openapi.yaml', 'opts': { - 'lazy-rendering': False, 'suppress-warnings': True, 'hide-hostname': True, } @@ -53,7 +53,15 @@ redoc = [ 'page': 'xacml/local-swagger', 'spec': 'https://raw.githubusercontent.com/onap/policy-xacml-pdp/master/main/src/main/resources/openapi/openapi.yaml', 'opts': { - 'lazy-rendering': False, + 'suppress-warnings': True, + 'hide-hostname': True, + } + }, + { + 'name': 'Policy DROOLS', + 'page': 'drools/local-swagger', + 'spec': 'https://raw.githubusercontent.com/onap/policy-drools-pdp/master/feature-healthcheck/src/main/resources/openapi/openapi.yaml', + 'opts': { 'suppress-warnings': True, 'hide-hostname': True, } @@ -63,7 +71,6 @@ redoc = [ 'page': 'clamp/acm/api-protocol/local-swagger', 'spec': 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/openapi.yaml', 'opts': { - 'lazy-rendering': False, 'suppress-warnings': True, 'hide-hostname': True, } |