Skip to content

Commit

Permalink
manually revert protobufany and updategroup in swagger.json (heroicla…
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke authored May 31, 2022
1 parent 3ec1776 commit 574369e
Showing 1 changed file with 37 additions and 27 deletions.
64 changes: 37 additions & 27 deletions apigrpc/apigrpc.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1748,30 +1748,7 @@
"in": "body",
"required": true,
"schema": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name."
},
"description": {
"type": "string",
"description": "Description string."
},
"langTag": {
"type": "string",
"description": "Lang tag."
},
"avatarUrl": {
"type": "string",
"description": "Avatar URL."
},
"open": {
"type": "boolean",
"description": "Open is true if anyone should be allowed to join, or false if joins must be approved by a group admin."
}
},
"description": "Update fields in a given group."
"$ref": "#/definitions/apiUpdateGroupRequest"
}
}
],
Expand Down Expand Up @@ -4687,6 +4664,36 @@
},
"description": "Update a user's account details."
},
"apiUpdateGroupRequest": {
"type": "object",
"properties": {
"groupId": {
"type": "string",
"description": "The ID of the group to update."
},
"name": {
"type": "string",
"description": "Name."
},
"description": {
"type": "string",
"description": "Description string."
},
"langTag": {
"type": "string",
"description": "Lang tag."
},
"avatarUrl": {
"type": "string",
"description": "Avatar URL."
},
"open": {
"type": "boolean",
"description": "Open is true if anyone should be allowed to join, or false if joins must be approved by a group admin."
}
},
"description": "Update fields in a given group."
},
"apiUser": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -5032,11 +5039,14 @@
"protobufAny": {
"type": "object",
"properties": {
"@type": {
"typeUrl": {
"type": "string"
},
"value": {
"type": "string",
"format": "byte"
}
},
"additionalProperties": {}
}
},
"rpcStatus": {
"type": "object",
Expand Down

0 comments on commit 574369e

Please sign in to comment.