Merge branch 'delete-account-fix' into 'develop'
[akkoma] / lib / pleroma / web / api_spec / operations / twitter_util_operation.ex
index be45720b12750f390fb1647c138987845c348948..5a2b0bc49d574a79ed31b081fde5f01e742c03db 100644 (file)
@@ -121,7 +121,10 @@ defmodule Pleroma.Web.ApiSpec.TwitterUtilOperation do
       type: :object,
       required: [:email, :password],
       properties: %{
-        email: %Schema{type: :string, description: "New email"},
+        email: %Schema{
+          type: :string,
+          description: "New email. Set to blank to remove the user's email."
+        },
         password: %Schema{type: :string, description: "Current password"}
       }
     }