From fd666be1d7e054ed2fbcd7d85987da7e04db2e01 Mon Sep 17 00:00:00 2001 From: vrvarma Date: Fri, 14 Aug 2020 16:48:37 -0400 Subject: Add Swagger docs for Optimization Engine Updating offeredapi.rst docs with the opteng api Change-Id: I0626bfa99616620a95a4bfc97709f781482972eb Signed-off-by: vrvarma Issue-ID: OPTFRA-823 --- docs/sections/offeredapis.rst | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'docs/sections/offeredapis.rst') diff --git a/docs/sections/offeredapis.rst b/docs/sections/offeredapis.rst index f50831f..8269dea 100644 --- a/docs/sections/offeredapis.rst +++ b/docs/sections/offeredapis.rst @@ -11,8 +11,20 @@ This document describes the OSDF HAS (Homing and Allocation Service) API To view API documentation in the interactive swagger UI download the following and paste into the swagger tool here: https://editor.swagger.io -:download:`oof-osdf-has-api.json <./swaggerdoc/oof-osdf-has-api.json>` +.. csv-table:: + :header: "API name", "Swagger JSON" + :widths: 10,5 + "OOF OSDF HAS API", ":download:`link <./swaggerdoc/oof-osdf-has-api.json>`" + "OOF OPTENG API", ":download:`link <./swaggerdoc/oof-optf-opteng-api.json>`" + +OOF OSDF HAS API +................ .. swaggerv2doc:: ./swaggerdoc/oof-osdf-has-api.json +OOF OPTENG API +.............. +.. swaggerv2doc:: ./swaggerdoc/oof-optf-opteng-api.json + + -- cgit 1.2.3-korg