1
0
mirror of synced 2026-01-07 09:01:31 -05:00

Update OpenAPI Descriptions (#28636)

This commit is contained in:
github-openapi-bot
2022-06-19 19:14:34 -07:00
committed by GitHub
parent 17c077f35c
commit a0bc9f0678
14 changed files with 616 additions and 91 deletions

View File

@@ -5422,7 +5422,7 @@
"enabledForGitHubApps": true,
"codeExamples": [
{
"key": "201",
"key": "default",
"request": {
"contentType": "application/json",
"description": "Example 1: Status Code 201",
@@ -5443,7 +5443,16 @@
},
"response": {
"statusCode": "201",
"description": "<p>Response when creating a secret</p>"
"contentType": "application/json",
"description": "<p>Response when creating a secret</p>",
"example": null,
"schema": {
"title": "Empty Object",
"description": "An object without any properties.",
"type": "object",
"properties": {},
"additionalProperties": false
}
}
},
{
@@ -8961,7 +8970,7 @@
"enabledForGitHubApps": true,
"codeExamples": [
{
"key": "201",
"key": "default",
"request": {
"contentType": "application/json",
"description": "Example 1: Status Code 201",
@@ -8978,7 +8987,16 @@
},
"response": {
"statusCode": "201",
"description": "<p>Response when creating a secret</p>"
"contentType": "application/json",
"description": "<p>Response when creating a secret</p>",
"example": null,
"schema": {
"title": "Empty Object",
"description": "An object without any properties.",
"type": "object",
"properties": {},
"additionalProperties": false
}
}
},
{
@@ -28897,7 +28915,16 @@
},
"response": {
"statusCode": "201",
"description": "<p>Response</p>"
"contentType": "application/json",
"description": "<p>Response</p>",
"example": null,
"schema": {
"title": "Empty Object",
"description": "An object without any properties.",
"type": "object",
"properties": {},
"additionalProperties": false
}
}
}
],
@@ -40083,7 +40110,16 @@
},
"response": {
"statusCode": "201",
"description": "<p>Response</p>"
"contentType": "application/json",
"description": "<p>Response</p>",
"example": null,
"schema": {
"title": "Empty Object",
"description": "An object without any properties.",
"type": "object",
"properties": {},
"additionalProperties": false
}
}
}
],
@@ -47233,7 +47269,16 @@
},
"response": {
"statusCode": "201",
"description": "<p>Response</p>"
"contentType": "application/json",
"description": "<p>Response</p>",
"example": null,
"schema": {
"title": "Empty Object",
"description": "An object without any properties.",
"type": "object",
"properties": {},
"additionalProperties": false
}
}
}
],
@@ -242170,7 +242215,7 @@
"enabledForGitHubApps": true,
"codeExamples": [
{
"key": "201",
"key": "default",
"request": {
"contentType": "application/json",
"description": "Example 1: Status Code 201",
@@ -242191,7 +242236,16 @@
},
"response": {
"statusCode": "201",
"description": "<p>Response when creating a secret</p>"
"contentType": "application/json",
"description": "<p>Response when creating a secret</p>",
"example": null,
"schema": {
"title": "Empty Object",
"description": "An object without any properties.",
"type": "object",
"properties": {},
"additionalProperties": false
}
}
},
{
@@ -407118,10 +407172,16 @@
"type": "object",
"properties": {
"branch": {
"type": "string"
"type": [
"string",
"null"
]
},
"path": {
"type": "string"
"type": [
"string",
"null"
]
}
},
"required": [
@@ -407465,10 +407525,16 @@
"type": "object",
"properties": {
"branch": {
"type": "string"
"type": [
"string",
"null"
]
},
"path": {
"type": "string"
"type": [
"string",
"null"
]
}
},
"required": [
@@ -522563,6 +522629,24 @@
"type": "integer",
"default": 30
}
},
{
"name": "before",
"description": "<p>A cursor, as given in the <a href=\"https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header\">Link header</a>. If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.</p>",
"in": "query",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "after",
"description": "<p>A cursor, as given in the <a href=\"https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header\">Link header</a>. If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty \"after\" query string.</p>",
"in": "query",
"required": false,
"schema": {
"type": "string"
}
}
],
"bodyParameters": [],
@@ -525794,6 +525878,24 @@
"type": "integer",
"default": 30
}
},
{
"name": "before",
"description": "<p>A cursor, as given in the <a href=\"https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header\">Link header</a>. If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.</p>",
"in": "query",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "after",
"description": "<p>A cursor, as given in the <a href=\"https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header\">Link header</a>. If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty \"after\" query string.</p>",
"in": "query",
"required": false,
"schema": {
"type": "string"
}
}
],
"bodyParameters": [],