1
0
mirror of synced 2026-01-08 12:01:53 -05:00

Update OpenAPI Descriptions (#28121)

This commit is contained in:
github-openapi-bot
2022-05-31 08:21:36 -07:00
committed by GitHub
parent 952c0d417a
commit d4ff8d3467
14 changed files with 183 additions and 29 deletions

View File

@@ -338847,8 +338847,11 @@
"key": "default",
"request": {
"contentType": "application/json",
"description": "Example",
"description": "Set an organization membership role for a user",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"role": "member"
},
"parameters": {
"org": "ORG",
"username": "USERNAME"
@@ -391484,7 +391487,7 @@
},
{
"type": "integer",
"description": "<p><strong>This paramter is deprecated. Use <code>line</code> instead</strong>. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. For help finding the position value, read the note above.</p>",
"description": "<p><strong>This parameter is deprecated. Use <code>line</code> instead</strong>. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. For help finding the position value, read the note above.</p>",
"deprecated": true,
"x-github": {
"deprecationDate": "2022-11-01"
@@ -391492,7 +391495,7 @@
"name": "position",
"in": "body",
"rawType": "integer",
"rawDescription": "**This paramter is deprecated. Use `line` instead**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. For help finding the position value, read the note above.",
"rawDescription": "**This parameter is deprecated. Use `line` instead**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. For help finding the position value, read the note above.",
"isRequired": false,
"childParamsGroups": []
},
@@ -507697,8 +507700,11 @@
"key": "default",
"request": {
"contentType": "application/json",
"description": "Example",
"description": "Add or update team membership for an organization member",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"role": "maintainer"
},
"parameters": {
"org": "ORG",
"team_slug": "TEAM_SLUG",