Skip to content

Commit

Permalink
Generate OpenAPI schema [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions committed Apr 21, 2024
1 parent 9ed41ea commit a98efcc
Showing 1 changed file with 25 additions and 10 deletions.
35 changes: 25 additions & 10 deletions src/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"openapi": "3.0.3",
"info": {
"title": "cs2-battle-bot-api",
"version": "0.0.20"
"version": "0.0.21"
},
"paths": {
"/api/account-connect-link": {
Expand Down Expand Up @@ -1300,9 +1300,20 @@
}
}
},
"/api/matches/webhook/": {
"/api/matches/{id}/webhook/": {
"post": {
"operationId": "matches_webhook_create",
"parameters": [
{
"in": "path",
"name": "id",
"schema": {
"type": "integer"
},
"description": "A unique integer value identifying this match.",
"required": true
}
],
"tags": [
"matches"
],
Expand Down Expand Up @@ -1703,18 +1714,11 @@
"parameters": [
{
"in": "query",
"name": "guild",
"name": "guild_or_public",
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "is_public",
"schema": {
"type": "boolean"
}
},
{
"name": "page",
"required": false,
Expand Down Expand Up @@ -2639,6 +2643,11 @@
"type": "string",
"readOnly": true
},
"config": {
"type": "object",
"additionalProperties": {},
"readOnly": true
},
"webhook_url": {
"type": "string",
"readOnly": true
Expand Down Expand Up @@ -2699,6 +2708,7 @@
},
"required": [
"author",
"config",
"config_url",
"connect_command",
"created_at",
Expand Down Expand Up @@ -3478,6 +3488,11 @@
"type": "string",
"readOnly": true
},
"config": {
"type": "object",
"additionalProperties": {},
"readOnly": true
},
"webhook_url": {
"type": "string",
"readOnly": true
Expand Down

0 comments on commit a98efcc

Please sign in to comment.