Swagger docs inaccurate / outdated #61
Labels
bug
Something isn't working
documentation
Improvements or additions to documentation
question
Further information is requested
Something the webapp refresh has illuminated is that the Swagger docs for the API server have quite a bit of inaccuracies compared to actual DTO responses received on the client as well as at least one endpoint missing from the documentation entirely. It would be worth combing over the Swagger yaml and getting the documentation up to date. This issue may overlap with this one: #13 and we might be able to consolidate and close the older issue 🤔.
Todo for this issue:
Comprehensive (incomplete) list of what is missing/inaccurate in Swagger docs:
Accounts/:account_sid/Applications
is in use for the webapp but missing entirely from the docsSmppGateways/SipGateways
showinbound/outbound
as boolean but they are actually binary:1/0
SpeechCredential
showsuse_for_tts/use_for_stt
as boolean but they are also binary:1/0
RecentCalls
shows the field assip_call_id
but it is actuallysip_callid
as returned from the APIRecentCall
andRecentCall
pcap toggles have the same ID and both toggle open at the same timebatch
but instead the api returns apage_size
field. Also thepage
andpage_size
fields are strings whereas thetotal
field is a number and ideally they would all 3 be numbers 🤔The text was updated successfully, but these errors were encountered: