Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
120 changes: 109 additions & 11 deletions lib/rest/static/decorated/api.github.com.json
Original file line number Diff line number Diff line change
Expand Up @@ -224876,14 +224876,22 @@
"type": "object",
"properties": {
"content": {
"description": "Content of the file",
"description": "<p>Content of the file</p>",
"readOnly": false,
"type": "string"
"type": "string",
"name": "content",
"in": "body",
"rawType": "string",
"rawDescription": "Content of the file",
"isRequired": true,
"childParamsGroups": []
}
},
"required": [
"content"
]
],
"rawType": "object",
"name": "key"
},
"examples": [
{
Expand All @@ -224897,7 +224905,41 @@
"rawType": "object",
"rawDescription": "Names and content for the files that make up the gist",
"isRequired": true,
"childParamsGroups": []
"childParamsGroups": [
{
"parentName": "files",
"parentType": "object",
"id": "files-object",
"params": [
{
"description": "<p>A user-defined key to represent an item in <code>files</code>.</p>",
"type": "string",
"name": "key",
"in": "body",
"rawType": "string",
"rawDescription": "A key to represent an item in files."
}
]
},
{
"parentName": "key",
"parentType": "object",
"id": "key-object",
"params": [
{
"description": "<p>Content of the file</p>",
"readOnly": false,
"type": "string",
"name": "content",
"in": "body",
"rawType": "string",
"rawDescription": "Content of the file",
"isRequired": true,
"childParamsGroups": []
}
]
}
]
},
{
"oneOf": [
Expand Down Expand Up @@ -228586,15 +228628,25 @@
],
"properties": {
"content": {
"description": "The new content of the file",
"type": "string"
"description": "<p>The new content of the file</p>",
"type": "string",
"name": "content",
"in": "body",
"rawType": "string",
"rawDescription": "The new content of the file",
"childParamsGroups": []
},
"filename": {
"description": "The new filename for the file",
"type": [
"description": "<p>The new filename for the file</p>",
"type": "string or null",
"name": "filename",
"in": "body",
"rawType": [
"string",
"null"
]
],
"rawDescription": "The new filename for the file",
"childParamsGroups": []
}
},
"anyOf": [
Expand All @@ -228612,7 +228664,9 @@
"type": "object",
"maxProperties": 0
}
]
],
"rawType": "object",
"name": "key"
},
"examples": [
{
Expand All @@ -228627,7 +228681,51 @@
"rawType": "object",
"rawDescription": "Names of files to be updated",
"isRequired": false,
"childParamsGroups": []
"childParamsGroups": [
{
"parentName": "files",
"parentType": "object",
"id": "files-object",
"params": [
{
"description": "<p>A user-defined key to represent an item in <code>files</code>.</p>",
"type": "string",
"name": "key",
"in": "body",
"rawType": "string",
"rawDescription": "A key to represent an item in files."
}
]
},
{
"parentName": "key",
"parentType": "object",
"id": "key-object",
"params": [
{
"description": "<p>The new content of the file</p>",
"type": "string",
"name": "content",
"in": "body",
"rawType": "string",
"rawDescription": "The new content of the file",
"childParamsGroups": []
},
{
"description": "<p>The new filename for the file</p>",
"type": "string or null",
"name": "filename",
"in": "body",
"rawType": [
"string",
"null"
],
"rawDescription": "The new filename for the file",
"childParamsGroups": []
}
]
}
]
}
],
"enabledForGitHubApps": false,
Expand Down
120 changes: 109 additions & 11 deletions lib/rest/static/decorated/ghes-3.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -162644,14 +162644,22 @@
"type": "object",
"properties": {
"content": {
"description": "Content of the file",
"description": "<p>Content of the file</p>",
"readOnly": false,
"type": "string"
"type": "string",
"name": "content",
"in": "body",
"rawType": "string",
"rawDescription": "Content of the file",
"isRequired": true,
"childParamsGroups": []
}
},
"required": [
"content"
]
],
"rawType": "object",
"name": "key"
},
"examples": [
{
Expand All @@ -162665,7 +162673,41 @@
"rawType": "object",
"rawDescription": "Names and content for the files that make up the gist",
"isRequired": true,
"childParamsGroups": []
"childParamsGroups": [
{
"parentName": "files",
"parentType": "object",
"id": "files-object",
"params": [
{
"description": "<p>A user-defined key to represent an item in <code>files</code>.</p>",
"type": "string",
"name": "key",
"in": "body",
"rawType": "string",
"rawDescription": "A key to represent an item in files."
}
]
},
{
"parentName": "key",
"parentType": "object",
"id": "key-object",
"params": [
{
"description": "<p>Content of the file</p>",
"readOnly": false,
"type": "string",
"name": "content",
"in": "body",
"rawType": "string",
"rawDescription": "Content of the file",
"isRequired": true,
"childParamsGroups": []
}
]
}
]
},
{
"oneOf": [
Expand Down Expand Up @@ -166354,15 +166396,25 @@
],
"properties": {
"content": {
"description": "The new content of the file",
"type": "string"
"description": "<p>The new content of the file</p>",
"type": "string",
"name": "content",
"in": "body",
"rawType": "string",
"rawDescription": "The new content of the file",
"childParamsGroups": []
},
"filename": {
"description": "The new filename for the file",
"type": [
"description": "<p>The new filename for the file</p>",
"type": "string or null",
"name": "filename",
"in": "body",
"rawType": [
"string",
"null"
]
],
"rawDescription": "The new filename for the file",
"childParamsGroups": []
}
},
"anyOf": [
Expand All @@ -166380,7 +166432,9 @@
"type": "object",
"maxProperties": 0
}
]
],
"rawType": "object",
"name": "key"
},
"examples": [
{
Expand All @@ -166395,7 +166449,51 @@
"rawType": "object",
"rawDescription": "Names of files to be updated",
"isRequired": false,
"childParamsGroups": []
"childParamsGroups": [
{
"parentName": "files",
"parentType": "object",
"id": "files-object",
"params": [
{
"description": "<p>A user-defined key to represent an item in <code>files</code>.</p>",
"type": "string",
"name": "key",
"in": "body",
"rawType": "string",
"rawDescription": "A key to represent an item in files."
}
]
},
{
"parentName": "key",
"parentType": "object",
"id": "key-object",
"params": [
{
"description": "<p>The new content of the file</p>",
"type": "string",
"name": "content",
"in": "body",
"rawType": "string",
"rawDescription": "The new content of the file",
"childParamsGroups": []
},
{
"description": "<p>The new filename for the file</p>",
"type": "string or null",
"name": "filename",
"in": "body",
"rawType": [
"string",
"null"
],
"rawDescription": "The new filename for the file",
"childParamsGroups": []
}
]
}
]
}
],
"enabledForGitHubApps": false,
Expand Down
Loading