Skip to content

Commit 3bc28d9

Browse files
docs-botgithub-merge-queue[bot]sophietheking
authored
GraphQL schema update (#61165)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com> Co-authored-by: Sophie <29382425+sophietheking@users.noreply.github.com>
1 parent d8a6a37 commit 3bc28d9

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

src/graphql/data/fpt/schema.docs.graphql

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@ directive @possibleTypes(
2323
concreteTypes: [String!]!
2424
) on INPUT_FIELD_DEFINITION
2525

26+
"""
27+
Assigns a documentation category for docs.github.com, aligned with REST API reference sections.
28+
"""
29+
directive @docsCategory(
30+
"""
31+
The category slug (e.g. "issues", "pulls", "repos").
32+
"""
33+
name: String!
34+
) on ENUM | INPUT_OBJECT | INTERFACE | OBJECT | UNION
35+
2636
"""
2737
Autogenerated input type of AbortQueuedMigrations
2838
"""

src/graphql/data/ghec/schema.docs.graphql

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@ directive @possibleTypes(
2323
concreteTypes: [String!]!
2424
) on INPUT_FIELD_DEFINITION
2525

26+
"""
27+
Assigns a documentation category for docs.github.com, aligned with REST API reference sections.
28+
"""
29+
directive @docsCategory(
30+
"""
31+
The category slug (e.g. "issues", "pulls", "repos").
32+
"""
33+
name: String!
34+
) on ENUM | INPUT_OBJECT | INTERFACE | OBJECT | UNION
35+
2636
"""
2737
Autogenerated input type of AbortQueuedMigrations
2838
"""

0 commit comments

Comments
 (0)