@@ -17997,6 +17997,11 @@ paths:
1799717997 - type: array
1799817998 items:
1799917999 type: string
18000+ examples:
18001+ default:
18002+ value:
18003+ apps:
18004+ - octoapp
1800018005 responses:
1800118006 '200':
1800218007 description: Response
@@ -18058,6 +18063,11 @@ paths:
1805818063 - type: array
1805918064 items:
1806018065 type: string
18066+ examples:
18067+ default:
18068+ value:
18069+ apps:
18070+ - octoapp
1806118071 responses:
1806218072 '200':
1806318073 description: Response
@@ -18118,6 +18128,11 @@ paths:
1811818128 - type: array
1811918129 items:
1812018130 type: string
18131+ examples:
18132+ default:
18133+ value:
18134+ apps:
18135+ - my-app
1812118136 responses:
1812218137 '200':
1812318138 description: Response
@@ -19333,9 +19348,10 @@ paths:
1933319348 content:
1933419349 application/json:
1933519350 schema:
19336- type: object
19337- properties: {}
19338- additionalProperties: false
19351+ "$ref": "#/components/schemas/empty-object"
19352+ examples:
19353+ default:
19354+ value:
1933919355 '403':
1934019356 description: Forbidden if the check run is not rerequestable or doesn't
1934119357 belong to the authenticated GitHub App
@@ -19592,9 +19608,10 @@ paths:
1959219608 content:
1959319609 application/json:
1959419610 schema:
19595- type: object
19596- properties: {}
19597- additionalProperties: false
19611+ "$ref": "#/components/schemas/empty-object"
19612+ examples:
19613+ default:
19614+ value:
1959819615 x-github:
1959919616 githubCloudOnly: false
1960019617 enabledForGitHubApps: true
@@ -20946,9 +20963,10 @@ paths:
2094620963 content:
2094720964 application/json:
2094820965 schema:
20949- type: object
20950- properties: {}
20951- additionalProperties: false
20966+ "$ref": "#/components/schemas/empty-object"
20967+ examples:
20968+ default:
20969+ value:
2095220970 '204':
2095320971 description: Response when updating a secret
2095420972 x-github:
@@ -25513,11 +25531,12 @@ paths:
2551325531 "$ref": "#/components/schemas/webhook-config-secret"
2551425532 insecure_ssl:
2551525533 "$ref": "#/components/schemas/webhook-config-insecure-ssl"
25516- example:
25517- content_type: json
25518- insecure_ssl: '0'
25519- secret: "********"
25520- url: https://example.com/webhook
25534+ examples:
25535+ default:
25536+ summary: Example of updating content type and URL
25537+ value:
25538+ content_type: json
25539+ url: https://example.com/webhook
2552125540 responses:
2552225541 '200':
2552325542 description: Response
@@ -35683,6 +35702,11 @@ paths:
3568335702 - read
3568435703 - write
3568535704 - admin
35705+ examples:
35706+ default:
35707+ summary: Example of setting permission to read
35708+ value:
35709+ permission: read
3568635710 responses:
3568735711 '204':
3568835712 description: Response
@@ -35862,6 +35886,11 @@ paths:
3586235886 - pull
3586335887 - push
3586435888 - admin
35889+ examples:
35890+ default:
35891+ summary: Example of setting permission to pull
35892+ value:
35893+ permission: push
3586535894 responses:
3586635895 '204':
3586735896 description: Response
@@ -36047,6 +36076,12 @@ paths:
3604736076 bio:
3604836077 description: The new short biography of the user.
3604936078 type: string
36079+ examples:
36080+ default:
36081+ summary: Example of updating blog and name
36082+ value:
36083+ blog: https://github.com/blog
36084+ name: monalisa octocat
3605036085 responses:
3605136086 '200':
3605236087 description: Response
@@ -36623,13 +36658,14 @@ paths:
3662336658 - '2345678'
3662436659 responses:
3662536660 '201':
36626- description: Response after successfully creaing a secret
36661+ description: Response after successfully creating a secret
3662736662 content:
3662836663 application/json:
3662936664 schema:
36630- type: object
36631- properties: {}
36632- additionalProperties: false
36665+ "$ref": "#/components/schemas/empty-object"
36666+ examples:
36667+ default:
36668+ value:
3663336669 '204':
3663436670 description: Response after successfully updating a secret
3663536671 '422':
@@ -37995,6 +38031,11 @@ paths:
3799538031 application/json:
3799638032 schema:
3799738033 "$ref": "#/components/schemas/interaction-limit"
38034+ examples:
38035+ default:
38036+ value:
38037+ limit: collaborators_only
38038+ expiry: one_month
3799838039 responses:
3799938040 '200':
3800038041 description: Response
0 commit comments