devlikeapro / waha

WAHA - WhatsApp HTTP API (REST API) that you can configure in a click! Two engines: chromium-based WEBJS and pure-websocket NOWEB
https://waha.devlike.pro/
Apache License 2.0
944 stars 283 forks source link

Swagger - automaticly show only endpoint that is supported by engine. #415

Open devlikepro opened 3 months ago

devlikepro commented 3 months ago

Right now not all features are supported by all engines and there's a page about that https://waha.devlike.pro/docs/how-to/engines/#features It can get outdated fast, and ideally, we should show DEPRECATED and add some notes to endpoint based on "engine" we're running.

patron:PRO

AliSot2000 commented 3 months ago

Also please provide a full list of all possible errors that an endpoint can raise. Both documenting the error codes and the response model for the error.

As noted here you have differently formatted errors.