X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fweb%2Fapi_spec%2Fschemas%2Faccount_field.ex;h=fa97073a0e5d7523d950f4198046de2b99c47750;hb=099e314a1bb823a83d9c1af0cca2363487a07899;hp=8906d812de09e14307facf0bd91db5f5d96938f3;hpb=f80116125f928de36c93627bbdf5f6578396f53b;p=akkoma
diff --git a/lib/pleroma/web/api_spec/schemas/account_field.ex b/lib/pleroma/web/api_spec/schemas/account_field.ex
index 8906d812d..fa97073a0 100644
--- a/lib/pleroma/web/api_spec/schemas/account_field.ex
+++ b/lib/pleroma/web/api_spec/schemas/account_field.ex
@@ -13,16 +13,14 @@ defmodule Pleroma.Web.ApiSpec.Schemas.AccountField do
type: :object,
properties: %{
name: %Schema{type: :string},
- value: %Schema{type: :string},
- verified_at: %Schema{type: :string, format: "date-time", nullable: true}
+ value: %Schema{type: :string, format: :html},
+ verified_at: %Schema{type: :string, format: :"date-time", nullable: true}
},
example: %{
- "JSON" => %{
- "name" => "Website",
- "value" =>
- "https://pleroma.com",
- "verified_at" => "2019-08-29T04:14:55.571+00:00"
- }
+ "name" => "Website",
+ "value" =>
+ "https://pleroma.com",
+ "verified_at" => "2019-08-29T04:14:55.571+00:00"
}
})
end