Skip to content

Commit

Permalink
chore: generate OpenAPI specification
Browse files Browse the repository at this point in the history
  • Loading branch information
revolt-ci committed Jun 15, 2024
1 parent 37d9cb9 commit d18aec4
Showing 1 changed file with 23 additions and 32 deletions.
55 changes: 23 additions & 32 deletions OpenAPI.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"name": "AGPLv3",
"url": "https://github.com/revoltchat/delta/blob/master/LICENSE"
},
"version": "0.7.4"
"version": "0.7.5"
},
"servers": [
{
Expand Down Expand Up @@ -6257,15 +6257,6 @@
],
"nullable": true
},
"profile": {
"description": "User's profile page",
"allOf": [
{
"$ref": "#/components/schemas/UserProfile"
}
],
"nullable": true
},
"flags": {
"description": "Enum of user flags",
"type": "integer",
Expand Down Expand Up @@ -6541,28 +6532,6 @@
"Invisible"
]
},
"UserProfile": {
"description": "User's profile",
"type": "object",
"properties": {
"content": {
"description": "Text content on user's profile",
"type": "string",
"maxLength": 2000,
"minLength": 0,
"nullable": true
},
"background": {
"description": "Background visible on user's profile",
"allOf": [
{
"$ref": "#/components/schemas/File"
}
],
"nullable": true
}
}
},
"BotInformation": {
"description": "Bot information for if the user is a bot",
"type": "object",
Expand Down Expand Up @@ -6707,6 +6676,28 @@
}
}
},
"UserProfile": {
"description": "User's profile",
"type": "object",
"properties": {
"content": {
"description": "Text content on user's profile",
"type": "string",
"maxLength": 2000,
"minLength": 0,
"nullable": true
},
"background": {
"description": "Background visible on user's profile",
"allOf": [
{
"$ref": "#/components/schemas/File"
}
],
"nullable": true
}
}
},
"Channel": {
"description": "Channel",
"oneOf": [
Expand Down

0 comments on commit d18aec4

Please sign in to comment.