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 ...@@ -40,7 +40,7 @@ module Mutations
argument :participants, argument :participants,
[Types::IncidentManagement::OncallUserInputType], [Types::IncidentManagement::OncallUserInputType],
required: true, 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) def resolve(iid:, project_path:, participants:, **args)
project = Project.find_by_full_path(project_path) project = Project.find_by_full_path(project_path)
......
...@@ -35,7 +35,7 @@ module Mutations ...@@ -35,7 +35,7 @@ module Mutations
argument :participants, argument :participants,
[Types::IncidentManagement::OncallUserInputType], [Types::IncidentManagement::OncallUserInputType],
required: false, 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) def resolve(id:, **args)
rotation = authorized_find!(id: id) rotation = authorized_find!(id: id)
......
...@@ -9,11 +9,11 @@ module Types ...@@ -9,11 +9,11 @@ module Types
argument :start_time, GraphQL::STRING_TYPE, argument :start_time, GraphQL::STRING_TYPE,
required: true, 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, argument :end_time, GraphQL::STRING_TYPE,
required: true, 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 end
# rubocop: enable Graphql/AuthorizeTypes # rubocop: enable Graphql/AuthorizeTypes
end 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