Closed AliSot2000 closed 4 days ago
Please mark the endpoint as deprecated
then.
Dito to here
Change the paths./api/sendText.get
in the openapi.json to the this:
{
"operationId": "ChattingController_sendTextGet",
"parameters": [
{
"in": "query",
"name": "phone",
"required": true,
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "text",
"required": true,
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "session",
"required": true,
"schema": {
"default": "default",
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
},
"description": ""
}
},
"security": [
{
"api_key": []
}
],
"summary": "Send a text message",
"deprecated": true,
"tags": [
"chatting"
]
}
Describe the bug The Return Type of the
GET /api/sendText
Endpoint is only annotated asobject
. Running a simple request, shows the following:Version
To Reproduce Steps to reproduce the behavior:
http://localhost:3000/#/chatting/ChattingController_sendTextGet
Schema
inResponses
object
Expected behavior There's a proper Model in this location that describes the data returned