Apply suggestion to lib/pleroma/web/api_spec/operations/status_operation.ex
This commit is contained in:
parent
822e9c09aa
commit
5a2333925c
@ -389,7 +389,7 @@ defmodule Pleroma.Web.ApiSpec.StatusOperation do
|
|||||||
type: :array,
|
type: :array,
|
||||||
items: %Schema{type: :string},
|
items: %Schema{type: :string},
|
||||||
description:
|
description:
|
||||||
"Array of possible answers. If provided, `media_ids` cannot be used, and `poll[expires_in]` must be provided."
|
"Array of possible answers. Must be provided with `poll[expires_in]`."
|
||||||
},
|
},
|
||||||
expires_in: %Schema{
|
expires_in: %Schema{
|
||||||
type: :integer,
|
type: :integer,
|
||||||
|
Loading…
Reference in New Issue
Block a user