Merge branch 'develop' into refactor/discoverable_user_field
[akkoma] / lib / pleroma / web / api_spec / operations / account_operation.ex
index d90ddb78714151d513b798bc99e11e1db275dca0..1696b19a5856f6cbce27082087fd7d017240a6e0 100644 (file)
@@ -606,7 +606,7 @@ defmodule Pleroma.Web.ApiSpec.AccountOperation do
           description: "Sets the background image of the user.",
           format: :binary
         },
-        discoverable: %Schema{
+        is_discoverable: %Schema{
           allOf: [BooleanLike],
           nullable: true,
           description:
@@ -630,7 +630,7 @@ defmodule Pleroma.Web.ApiSpec.AccountOperation do
         pleroma_settings_store: %{"pleroma-fe" => %{"key" => "val"}},
         skip_thread_containment: false,
         allow_following_move: false,
-        discoverable: false,
+        is_discoverable: false,
         actor_type: "Person"
       }
     }