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"