From b5225e2a82c3a38029eb0e923d47efa82fb4b826 Mon Sep 17 00:00:00 2001 From: Will Gunter Date: Tue, 9 Apr 2024 16:15:34 -0400 Subject: [PATCH] Update documentation to be CWS REST API and mention swagger --- .../jpl/cws/controller/SwaggerConfig.java | 2 +- install/cws-ui/documentation.ftl | 41 ++++++++++--------- 2 files changed, 23 insertions(+), 20 deletions(-) diff --git a/cws-service/src/main/java/jpl/cws/controller/SwaggerConfig.java b/cws-service/src/main/java/jpl/cws/controller/SwaggerConfig.java index 16717685..4d127070 100644 --- a/cws-service/src/main/java/jpl/cws/controller/SwaggerConfig.java +++ b/cws-service/src/main/java/jpl/cws/controller/SwaggerConfig.java @@ -30,7 +30,7 @@ public Docket api() { private ApiInfo apiInfo() { return new ApiInfoBuilder() .title("CWS API") - .description("Documentation of the endpoints used by CWS. Once authenticated, requests can be made to these endpoints (submit the cwsToken cookie).") + .description("Documentation of the endpoints used by CWS. Once authenticated, requests can be made to these endpoints.\nTo authenticate, right click on this page --> Inspect --> Click the 'Application' tab --> Select the URL under the Cookies tab on the left --> Copy the value of the cwsToken cookie.") .version("2.6.0") .license("Apache 2.0") .licenseUrl("https://github.com/NASA-AMMOS/common-workflow-service?tab=Apache-2.0-1-ov-file") diff --git a/install/cws-ui/documentation.ftl b/install/cws-ui/documentation.ftl index dbddfd5b..0de115f1 100644 --- a/install/cws-ui/documentation.ftl +++ b/install/cws-ui/documentation.ftl @@ -10,25 +10,25 @@ - + @@ -58,13 +58,13 @@
<#include "sidebar.ftl">
- +

${msg}

- +

Documentation

- +