APIs-guru / openapi-directory

🌐 Wikipedia for Web APIs. Directory of REST API definitions in OpenAPI 2.0/3.x format
https://apis.guru/
Creative Commons Zero v1.0 Universal
3.83k stars 575 forks source link

Add "Telnyx" API #738

Closed odhranreidy closed 3 years ago

odhranreidy commented 3 years ago

Format: OpenAPI 3.0 Official: YES Url: https://raw.githubusercontent.com/team-telnyx/openapi/master/openapi/spec3.yml Name: Telnyx

MikeRalphson commented 3 years ago

Thanks for the contribution!

Your API description very nearly passes validation, but your callback expressions need a tiny tweak:

    post:
      callbacks:
        fax.delivered:
          ${response.body#/data/webhook_url}:
            post:
              requestBody:

should be:

    post:
      callbacks:
        fax.delivered:
          '{$response.body#/data/webhook_url}':
            post:
              requestBody:
odhranreidy commented 3 years ago

Thanks for the feedback - that should be fixed now!

MikeRalphson commented 3 years ago

Thanks, looks good now. Will add when the current CI run finishes.

MikeRalphson commented 3 years ago

API added, many thanks for the contribution!