From 34a09c174ab6d618c6a9217c2f0d84f74ab19c7f Mon Sep 17 00:00:00 2001 From: Brooklyn Zelenka Date: Fri, 10 Sep 2021 03:26:22 +0000 Subject: [PATCH] Add docs summary --- fission-web-api/library/Fission/Web/API/Docs/Types.hs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fission-web-api/library/Fission/Web/API/Docs/Types.hs b/fission-web-api/library/Fission/Web/API/Docs/Types.hs index 4ed29902c..617736aec 100644 --- a/fission-web-api/library/Fission/Web/API/Docs/Types.hs +++ b/fission-web-api/library/Fission/Web/API/Docs/Types.hs @@ -2,4 +2,7 @@ module Fission.Web.API.Docs.Types (Docs) where import Servant.Swagger.UI.Core -type Docs = SwaggerSchemaUI "docs" "docs.json" +type Docs + = Summary "Docs" + :> Description "Swagger-based documentation" + :> SwaggerSchemaUI "docs" "docs.json"