Commit 783126ea authored by Sean Arnold's avatar Sean Arnold

Add to documentation for oncall rotation types

parent 41fa8e2d
......@@ -40,7 +40,7 @@ module Mutations
argument :participants,
[Types::IncidentManagement::OncallUserInputType],
required: true,
description: 'The usernames of users participating in the on-call rotation.'
description: 'The usernames of users participating in the on-call rotation. A maximum limit of 100 participants applies.'
def resolve(iid:, project_path:, participants:, **args)
project = Project.find_by_full_path(project_path)
......
......@@ -35,7 +35,7 @@ module Mutations
argument :participants,
[Types::IncidentManagement::OncallUserInputType],
required: false,
description: 'The usernames of users participating in the on-call rotation.'
description: 'The usernames of users participating in the on-call rotation. A maximum limit of 100 participants applies.'
def resolve(id:, **args)
rotation = authorized_find!(id: id)
......
......@@ -9,11 +9,11 @@ module Types
argument :start_time, GraphQL::STRING_TYPE,
required: true,
description: 'The start of the rotation active period.'
description: 'The start of the rotation active period in 24 hour format, for example "18:30".'
argument :end_time, GraphQL::STRING_TYPE,
required: true,
description: 'The end of the rotation active period.'
description: 'The end of the rotation active period in 24 hour format, for example "18:30".'
end
# rubocop: enable Graphql/AuthorizeTypes
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment