team-telnyx / telnyx-mock

telnyx-mock is a mock HTTP server that responds like the real Telnyx API. It can be used to make test suites integrating with Telnyx faster and less brittle.
MIT License
15 stars 5 forks source link

Telynx Mock schema differs from response in a GET endpoint #18

Open thedonmon opened 4 years ago

thedonmon commented 4 years ago

https://api.telnyx.com/v2/ota_updates/{id} endpoint is not returning an OK response. It seems that the schema generated for this endpoint differs from the raw JSON is returned.

It looks like the response in the schema is encoded and the response json is decoded to have the & symbol. Not sure if this is the exact issue.

image