Add swaggerUI options (#66)
[akkoma] / config / description.exs
index c36e9d2b2b0215752b62b86a10f42e007db3fba6..098a6f5b72d35af2cf77ce86d9327354310ccf4b 100644 (file)
@@ -3089,6 +3089,21 @@ config :pleroma, :config_description, [
         description: "Admin frontend",
         children: installed_frontend_options
       },
+      %{
+        key: :swagger,
+        type: :map,
+        description: "Swagger API reference frontend",
+        children:
+          installed_frontend_options ++
+            [
+              %{
+                key: "enabled",
+                label: "Enabled",
+                type: :boolean,
+                description: "Whether to have this enabled at all"
+              }
+            ]
+      },
       %{
         key: :available,
         type: :map,