Open kaua-alves-queiros opened 3 months ago
I noticed that the same thing happens with the /contact/getChat/{sessionId} endpoint.
In the 200 response, the same issue is present in the swagger.json
"200": { "description": "OK" }
If I change it to something similar to the issue, that is, manually map everything, the SDK is generated normally.
I noticed that for the endpoint /client/getContacts/{sessionId}, the Swagger JSON is generating the following response for status 200: I have no idea why the swagger.json is being generated incorrectly or if generating the client SDK with NSwag will create another functional endpoint
generated swagger.json
This prevents the correct SDK generation via NSwag.
The solution I found is quite crude (completely ChatGPT), but for now, it works.
fix swagger.json
bash command to build sdk