@@ -17933,6 +17933,11 @@ paths:
1793317933 - type: array
1793417934 items:
1793517935 type: string
17936+ examples:
17937+ default:
17938+ value:
17939+ apps:
17940+ - octoapp
1793617941 responses:
1793717942 '200':
1793817943 description: Response
@@ -17994,6 +17999,11 @@ paths:
1799417999 - type: array
1799518000 items:
1799618001 type: string
18002+ examples:
18003+ default:
18004+ value:
18005+ apps:
18006+ - octoapp
1799718007 responses:
1799818008 '200':
1799918009 description: Response
@@ -18054,6 +18064,11 @@ paths:
1805418064 - type: array
1805518065 items:
1805618066 type: string
18067+ examples:
18068+ default:
18069+ value:
18070+ apps:
18071+ - my-app
1805718072 responses:
1805818073 '200':
1805918074 description: Response
@@ -19269,9 +19284,10 @@ paths:
1926919284 content:
1927019285 application/json:
1927119286 schema:
19272- type: object
19273- properties: {}
19274- additionalProperties: false
19287+ "$ref": "#/components/schemas/empty-object"
19288+ examples:
19289+ default:
19290+ value:
1927519291 '403':
1927619292 description: Forbidden if the check run is not rerequestable or doesn't
1927719293 belong to the authenticated GitHub App
@@ -19528,9 +19544,10 @@ paths:
1952819544 content:
1952919545 application/json:
1953019546 schema:
19531- type: object
19532- properties: {}
19533- additionalProperties: false
19547+ "$ref": "#/components/schemas/empty-object"
19548+ examples:
19549+ default:
19550+ value:
1953419551 x-github:
1953519552 githubCloudOnly: false
1953619553 enabledForGitHubApps: true
@@ -20875,9 +20892,10 @@ paths:
2087520892 content:
2087620893 application/json:
2087720894 schema:
20878- type: object
20879- properties: {}
20880- additionalProperties: false
20895+ "$ref": "#/components/schemas/empty-object"
20896+ examples:
20897+ default:
20898+ value:
2088120899 '204':
2088220900 description: Response when updating a secret
2088320901 x-github:
@@ -25425,11 +25443,12 @@ paths:
2542525443 "$ref": "#/components/schemas/webhook-config-secret"
2542625444 insecure_ssl:
2542725445 "$ref": "#/components/schemas/webhook-config-insecure-ssl"
25428- example:
25429- content_type: json
25430- insecure_ssl: '0'
25431- secret: "********"
25432- url: https://example.com/webhook
25446+ examples:
25447+ default:
25448+ summary: Example of updating content type and URL
25449+ value:
25450+ content_type: json
25451+ url: https://example.com/webhook
2543325452 responses:
2543425453 '200':
2543525454 description: Response
@@ -35556,6 +35575,11 @@ paths:
3555635575 - read
3555735576 - write
3555835577 - admin
35578+ examples:
35579+ default:
35580+ summary: Example of setting permission to read
35581+ value:
35582+ permission: read
3555935583 responses:
3556035584 '204':
3556135585 description: Response
@@ -35735,6 +35759,11 @@ paths:
3573535759 - pull
3573635760 - push
3573735761 - admin
35762+ examples:
35763+ default:
35764+ summary: Example of setting permission to pull
35765+ value:
35766+ permission: push
3573835767 responses:
3573935768 '204':
3574035769 description: Response
@@ -35913,6 +35942,12 @@ paths:
3591335942 bio:
3591435943 description: The new short biography of the user.
3591535944 type: string
35945+ examples:
35946+ default:
35947+ summary: Example of updating blog and name
35948+ value:
35949+ blog: https://github.com/blog
35950+ name: monalisa octocat
3591635951 responses:
3591735952 '200':
3591835953 description: Response
@@ -36489,13 +36524,14 @@ paths:
3648936524 - '2345678'
3649036525 responses:
3649136526 '201':
36492- description: Response after successfully creaing a secret
36527+ description: Response after successfully creating a secret
3649336528 content:
3649436529 application/json:
3649536530 schema:
36496- type: object
36497- properties: {}
36498- additionalProperties: false
36531+ "$ref": "#/components/schemas/empty-object"
36532+ examples:
36533+ default:
36534+ value:
3649936535 '204':
3650036536 description: Response after successfully updating a secret
3650136537 '422':
@@ -37857,6 +37893,11 @@ paths:
3785737893 application/json:
3785837894 schema:
3785937895 "$ref": "#/components/schemas/interaction-limit"
37896+ examples:
37897+ default:
37898+ value:
37899+ limit: collaborators_only
37900+ expiry: one_month
3786037901 responses:
3786137902 '200':
3786237903 description: Response
0 commit comments