1
0
mirror of synced 2026-01-02 03:04:13 -05:00

automate github apps docs (#35530)

Co-authored-by: Sarah Edwards <skedwards88@github.com>
This commit is contained in:
Rachael Sewell
2023-06-16 12:23:05 -07:00
committed by GitHub
parent b0ea5f518f
commit cb37f22ef0
89 changed files with 224473 additions and 21362 deletions

View File

@@ -0,0 +1,28 @@
#!/usr/bin/env node
// This schema is used to validate
// src/github-apps/data/server-to-server-rest.json
// src/github-apps/data/user-to-server-rest.json
// and src/github-apps/data/fine-grained-pat.json
export default {
type: 'object',
required: ['slug', 'subcategory', 'verb', 'requestPath'],
properties: {
slug: {
description: 'The documentation slug for the REST API operation.',
type: 'string',
},
subcategory: {
description: 'The subcategory of the REST API operation.',
type: 'string',
},
verb: {
description: 'The API request verb.',
type: 'string',
},
requestPath: {
description: 'The API request path.',
type: 'string',
},
},
}