summaryrefslogtreecommitdiffstats
path: root/runtime/src
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2021-07-14 17:52:12 +0100
committerliamfallon <liam.fallon@est.tech>2021-07-15 14:58:20 +0100
commit3605d0a0dc7a022059db0db6f0394f02cbf967fd (patch)
treeb33cb0271aa0aeda553497101b270e02259d5cf2 /runtime/src
parent258fdc2ddb8b5e130ccc2b287c10c3fd782b7ee9 (diff)
Replace swagger doc gen with commmon approach
The swagger documentation generation is moved to policy-parent. This commit removes the CLAMP swagger document generation and replaces it with the common handling. It also fixes the following bug: The current CLAMP build generates the swagger.json file using a unit test case. That file is used later in the build to generate a swagger.pdf and swagger.html file. If the tests are skipped, the swagger.json file is not generated and the build fails on the PDF/html generation step. This change adds a profile to the build that only does the PDF/html generation when the skipTests flag is off. Issue-ID: POLICY-3424 Change-Id: Id195fc600d8fca7bfa5d9003272520d57414d646 Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'runtime/src')
-rw-r--r--runtime/src/main/resources/asciidoc/swagger.adoc4
1 files changed, 0 insertions, 4 deletions
diff --git a/runtime/src/main/resources/asciidoc/swagger.adoc b/runtime/src/main/resources/asciidoc/swagger.adoc
deleted file mode 100644
index 6896747fd..000000000
--- a/runtime/src/main/resources/asciidoc/swagger.adoc
+++ /dev/null
@@ -1,4 +0,0 @@
-include::{generated}/overview.adoc[]
-include::{generated}/paths.adoc[]
-include::{generated}/security.adoc[]
-include::{generated}/definitions.adoc[] \ No newline at end of file