whatsapp-http-api icon indicating copy to clipboard operation
whatsapp-http-api copied to clipboard

[openapi] - Errors in Documentation

Open AliSot2000 opened this issue 5 months ago • 0 comments

I found some issues in the openapi.json

{
  "version": "2024.9.5",
  "engine": "NOWEB",
  "tier": "PLUS",
  "browser": "/usr/bin/chromium"
}

Errors found in the Documentation that caused malformatted code:

  • WebhookConfig: Expects for Events array<any>. It should be Event
  • SessionInfo.engine: Is Optional[str]. I would assume it is Supposed to be the Enum Engine. The actual value is {'engine': Engine} I'd be in favor of removing the wrapper and just putting the engine in there.

AliSot2000 avatar Sep 17 '24 16:09 AliSot2000