diff --git a/specs/openapi.json b/specs/openapi.json index aa4321e..6e6850a 100644 --- a/specs/openapi.json +++ b/specs/openapi.json @@ -8305,6 +8305,49 @@ "required": true } ], + "get": { + "operationId": "get_lobby_messages", + "parameters": [ + { + "name": "limit", + "in": "query", + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 200 + } + } + ], + "responses": { + "200": { + "description": "200 response for get_lobby_messages", + "content": { + "application/json": { + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/LobbyMessageResponse" + } + } + } + } + }, + "4XX": { + "$ref": "#/components/responses/ClientErrorResponse" + } + }, + "security": [ + { + "BotToken": [] + }, + { + "OAuth2": [] + } + ] + }, "post": { "operationId": "create_lobby_message", "requestBody": { diff --git a/specs/openapi_preview.json b/specs/openapi_preview.json index 0381a6b..b43d5b1 100644 --- a/specs/openapi_preview.json +++ b/specs/openapi_preview.json @@ -8305,6 +8305,49 @@ "required": true } ], + "get": { + "operationId": "get_lobby_messages", + "parameters": [ + { + "name": "limit", + "in": "query", + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 200 + } + } + ], + "responses": { + "200": { + "description": "200 response for get_lobby_messages", + "content": { + "application/json": { + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/LobbyMessageResponse" + } + } + } + } + }, + "4XX": { + "$ref": "#/components/responses/ClientErrorResponse" + } + }, + "security": [ + { + "BotToken": [] + }, + { + "OAuth2": [] + } + ] + }, "post": { "operationId": "create_lobby_message", "requestBody": {