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 20, 2024
1 parent 64383f9 commit 1bf26e4
Showing 1 changed file with 25 additions and 5 deletions.
30 changes: 25 additions & 5 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.15"
"version": "0.0.16"
},
"paths": {
"/api/discord-users/": {
Expand Down Expand Up @@ -2761,10 +2761,20 @@
"type": "object",
"properties": {
"banned_map": {
"$ref": "#/components/schemas/Map"
"allOf": [
{
"$ref": "#/components/schemas/Map"
}
],
"readOnly": true
},
"next_ban_team": {
"$ref": "#/components/schemas/Team"
"allOf": [
{
"$ref": "#/components/schemas/Team"
}
],
"readOnly": true
},
"maps_left": {
"type": "array",
Expand Down Expand Up @@ -2895,10 +2905,20 @@
"type": "object",
"properties": {
"picked_map": {
"$ref": "#/components/schemas/Map"
"allOf": [
{
"$ref": "#/components/schemas/Map"
}
],
"readOnly": true
},
"next_pick_team": {
"$ref": "#/components/schemas/Team"
"allOf": [
{
"$ref": "#/components/schemas/Team"
}
],
"readOnly": true
},
"maps_left": {
"type": "array",
Expand Down

0 comments on commit 1bf26e4

Please sign in to comment.