Skip to content

Commit

Permalink
Update OpenAPI Description (#50028)
Browse files Browse the repository at this point in the history
  • Loading branch information
docs-bot authored Apr 8, 2024
1 parent a8c8a3e commit 6f26723
Show file tree
Hide file tree
Showing 8 changed files with 142 additions and 36 deletions.
2 changes: 1 addition & 1 deletion src/github-apps/lib/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@
"2022-11-28"
]
},
"sha": "28c94f8036c1e4957c5d3d23e00a8600a21c9edc"
"sha": "100282f36f15a8eaa0c3be16ef7aa7f32237d896"
}
76 changes: 62 additions & 14 deletions src/rest/data/fpt-2022-11-28/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -337119,11 +337119,23 @@
"description": "Whether the property is required."
},
"default_value": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"description": "Default value of the property",
"type": [
"null",
"string",
"null"
],
"description": "Default value of the property"
"array"
]
},
"description": {
"type": [
Expand Down Expand Up @@ -337234,7 +337246,7 @@
"description": "<p>Whether the property is required.</p>"
},
{
"type": "string or null",
"type": "null or string or array",
"name": "default_value",
"description": "<p>Default value of the property</p>"
},
Expand Down Expand Up @@ -337362,11 +337374,23 @@
"description": "Whether the property is required."
},
"default_value": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"description": "Default value of the property",
"type": [
"null",
"string",
"null"
],
"description": "Default value of the property"
"array"
]
},
"description": {
"type": [
Expand Down Expand Up @@ -337519,11 +337543,23 @@
"description": "Whether the property is required."
},
"default_value": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"description": "Default value of the property",
"type": [
"null",
"string",
"null"
],
"description": "Default value of the property"
"array"
]
},
"description": {
"type": [
Expand Down Expand Up @@ -337631,7 +337667,7 @@
"description": "<p>Whether the property is required.</p>"
},
{
"type": "string or null",
"type": "null or string or array",
"name": "default_value",
"in": "body",
"description": "<p>Default value of the property</p>"
Expand Down Expand Up @@ -337722,11 +337758,23 @@
"description": "Whether the property is required."
},
"default_value": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"description": "Default value of the property",
"type": [
"null",
"string",
"null"
],
"description": "Default value of the property"
"array"
]
},
"description": {
"type": [
Expand Down
76 changes: 62 additions & 14 deletions src/rest/data/ghec-2022-11-28/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -356897,11 +356897,23 @@
"description": "Whether the property is required."
},
"default_value": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"description": "Default value of the property",
"type": [
"null",
"string",
"null"
],
"description": "Default value of the property"
"array"
]
},
"description": {
"type": [
Expand Down Expand Up @@ -357012,7 +357024,7 @@
"description": "<p>Whether the property is required.</p>"
},
{
"type": "string or null",
"type": "null or string or array",
"name": "default_value",
"description": "<p>Default value of the property</p>"
},
Expand Down Expand Up @@ -357140,11 +357152,23 @@
"description": "Whether the property is required."
},
"default_value": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"description": "Default value of the property",
"type": [
"null",
"string",
"null"
],
"description": "Default value of the property"
"array"
]
},
"description": {
"type": [
Expand Down Expand Up @@ -357297,11 +357321,23 @@
"description": "Whether the property is required."
},
"default_value": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"description": "Default value of the property",
"type": [
"null",
"string",
"null"
],
"description": "Default value of the property"
"array"
]
},
"description": {
"type": [
Expand Down Expand Up @@ -357409,7 +357445,7 @@
"description": "<p>Whether the property is required.</p>"
},
{
"type": "string or null",
"type": "null or string or array",
"name": "default_value",
"in": "body",
"description": "<p>Default value of the property</p>"
Expand Down Expand Up @@ -357500,11 +357536,23 @@
"description": "Whether the property is required."
},
"default_value": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"description": "Default value of the property",
"type": [
"null",
"string",
"null"
],
"description": "Default value of the property"
"array"
]
},
"description": {
"type": [
Expand Down
12 changes: 11 additions & 1 deletion src/rest/data/ghes-3.12-2022-11-28/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -196144,7 +196144,17 @@
"title": "Upload an enterprise license",
"category": "enterprise-admin",
"subcategory": "manage-ghes",
"parameters": [],
"parameters": [
{
"name": "apply",
"description": "<p>Whether to apply changes from the license. Uploading a license does not automatically apply changes. To make the changes effective, you can specify to apply the license too.</p>",
"in": "query",
"required": false,
"schema": {
"type": "boolean"
}
}
],
"bodyParameters": [],
"enabledForGitHubApps": false,
"codeExamples": [
Expand Down
2 changes: 1 addition & 1 deletion src/rest/lib/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@
]
}
},
"sha": "28c94f8036c1e4957c5d3d23e00a8600a21c9edc"
"sha": "100282f36f15a8eaa0c3be16ef7aa7f32237d896"
}
4 changes: 2 additions & 2 deletions src/webhooks/data/fpt/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -14921,7 +14921,7 @@
"description": "<p>Whether the property is required.</p>"
},
{
"type": "string or null",
"type": "null or string or array",
"name": "default_value",
"description": "<p>Default value of the property</p>"
},
Expand Down Expand Up @@ -15095,7 +15095,7 @@
"description": "<p>Whether the property is required.</p>"
},
{
"type": "string or null",
"type": "null or string or array",
"name": "default_value",
"description": "<p>Default value of the property</p>"
},
Expand Down
4 changes: 2 additions & 2 deletions src/webhooks/data/ghec/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -14985,7 +14985,7 @@
"description": "<p>Whether the property is required.</p>"
},
{
"type": "string or null",
"type": "null or string or array",
"name": "default_value",
"description": "<p>Default value of the property</p>"
},
Expand Down Expand Up @@ -15159,7 +15159,7 @@
"description": "<p>Whether the property is required.</p>"
},
{
"type": "string or null",
"type": "null or string or array",
"name": "default_value",
"description": "<p>Default value of the property</p>"
},
Expand Down
2 changes: 1 addition & 1 deletion src/webhooks/lib/config.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"sha": "28c94f8036c1e4957c5d3d23e00a8600a21c9edc"
"sha": "100282f36f15a8eaa0c3be16ef7aa7f32237d896"
}

0 comments on commit 6f26723

Please sign in to comment.