Commit a96e719d authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch 'mw/milestone-state-graphql-docs' into 'master'

Add descriptions to MilestoneStateEnum

See merge request gitlab-org/gitlab!52494
parents 1e2d8119 74ff9332
......@@ -2,7 +2,10 @@
module Types
class MilestoneStateEnum < BaseEnum
value 'active'
value 'closed'
graphql_name 'MilestoneStateEnum'
description 'Current state of milestone'
value 'active', 'Milestone is currently active'
value 'closed', 'Milestone is closed'
end
end
......@@ -15718,8 +15718,18 @@ Identifier of Milestone.
"""
scalar MilestoneID
"""
Current state of milestone
"""
enum MilestoneStateEnum {
"""
Milestone is currently active
"""
active
"""
Milestone is closed
"""
closed
}
......
......@@ -43272,20 +43272,20 @@
{
"kind": "ENUM",
"name": "MilestoneStateEnum",
"description": null,
"description": "Current state of milestone",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "active",
"description": null,
"description": "Milestone is currently active",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "closed",
"description": null,
"description": "Milestone is closed",
"isDeprecated": false,
"deprecationReason": null
}
......@@ -4950,10 +4950,12 @@ State of a GitLab merge request.
### MilestoneStateEnum
Current state of milestone.
| Value | Description |
| ----- | ----------- |
| `active` | |
| `closed` | |
| `active` | Milestone is currently active |
| `closed` | Milestone is closed |
### MoveType
......
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