Add the absent max_featured_tags to the api spec for /api/v1/instance

This commit is contained in:
Mark Felder 2024-05-07 17:46:05 -04:00
parent b979389958
commit 06c26bf9c9
1 changed files with 9 additions and 0 deletions

View File

@ -50,6 +50,15 @@ defp instance do
%Schema{ %Schema{
type: :object, type: :object,
properties: %{ properties: %{
accounts: %Schema{
type: :object,
properties: %{
max_featured_tags: %Schema{
type: :integer,
description: "The maximum number of featured tags allowed for each account."
}
}
},
uri: %Schema{type: :string, description: "The domain name of the instance"}, uri: %Schema{type: :string, description: "The domain name of the instance"},
title: %Schema{type: :string, description: "The title of the website"}, title: %Schema{type: :string, description: "The title of the website"},
description: %Schema{ description: %Schema{