FIX: Create invite api docs (#21460)
This fixes the api documentation for the create invite api endpoint so that it uses the `group_ids` param when specifying the group instead of the incorrect `group_id` param.
This commit is contained in:
parent
7a1d60c60e
commit
89f721cf67
|
@ -40,13 +40,17 @@ RSpec.describe "invites" do
|
|||
topic_id: {
|
||||
type: :integer,
|
||||
},
|
||||
group_id: {
|
||||
type: :integer,
|
||||
description: "optional, either this or `group_names`",
|
||||
group_ids: {
|
||||
type: :string,
|
||||
description:
|
||||
"Optional, either this or `group_names`. Comma separated list for multiple ids.",
|
||||
example: "42,43",
|
||||
},
|
||||
group_names: {
|
||||
type: :string,
|
||||
description: "optional, either this or `group_id`",
|
||||
description:
|
||||
"Optional, either this or `group_ids`. Comma separated list for multiple names.",
|
||||
example: "foo,bar",
|
||||
},
|
||||
expires_at: {
|
||||
type: :string,
|
||||
|
|
Loading…
Reference in New Issue