- add support for redoc
Issue-ID: OPTFRA-805
Signed-off-by: dhebeha <dhebeha.mj71@wipro.com>
Change-Id: I2ce1259a9d8f84ec1386518dbe1f286babc26d87
},
"preferReuse": {
"type": "boolean",
- "description": "true if reusing an existing NSI is preferred/false if creating a new NSI is preferred "
+ "description": "true if reusing an existing NSI is preferred/false if creating a new NSI is preferred "
},
"subnetCapabilities": {
"type": "array",
"properties": {
"type": {
"type": "string",
- "enum": [
- "NSI",
- "NSSI"
+ "enum": [
+ "NSI",
+ "NSSI"
],
"description": "indicates if the request is for NSI/NSSI termination"
},
"properties": {
"existingNSI": {
"type": "boolean",
- "description": "true if NSISolution object has shareNSISolution/false if NSISolution object has newNSISolution"
+ "description": "true if NSISolution object has shareNSISolution/false if NSISolution object has newNSISolution"
},
"sharedNSISolution": {
"$ref": "#/definitions/SharedNSISolution"
'http://localhost',
]
+extensions = [
+ 'sphinxcontrib.redoc',
+]
+
+redoc = [
+ {
+ 'name': 'OSDF API',
+ 'page': './osdf-api',
+ 'spec': './api/swagger/oof-osdf-has-api.json',
+ 'embed': True,
+ },
+ {
+ 'name': 'OPTENG API',
+ 'page': './opteng-api',
+ 'spec': './api/swagger/oof-osdf-has-api.json',
+ 'embed': True,
+ }
+ ]
+
+redoc_uri = 'https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js'
+
intersphinx_mapping = {}
html_last_updated_fmt = '%d-%b-%y %H:%M'
sphinxcontrib-swaggerdoc
sphinxcontrib-plantuml
sphinx_bootstrap_theme
+sphinxcontrib-redoc
lfdocs-conf
OOF OSDF HAS API
................
-.. swaggerv2doc:: ./swaggerdoc/oof-osdf-has-api.json
+.. raw:: html
+
+ <a class="reference internal" href="../osdf-api.html">OSDF API</a>
+
OOF OPTENG API
..............
-.. swaggerv2doc:: ./swaggerdoc/oof-optf-opteng-api.json
+.. raw:: html
+ <a class="reference internal" href="../opteng-api.html">OPTENG API</a>