Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

The operation GET /templates/{template_id} response schema is missing html_content and plain_content #110

Open
iainxt opened this issue Feb 7, 2022 · 1 comment
Labels
status: help wanted requesting help from the community type: community enhancement feature request not on Twilio's roadmap

Comments

@iainxt
Copy link

iainxt commented Feb 7, 2022

Regarding the operation GET /templates/{template_id} the response includes the html_content and plain_content but it is not on the schema.

Operation Schema

        "responses": {
          "201": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/transactional_template"
            },

And transactional_template schema is

    "transactional_template": {
      "title": "Transactional Templates: Template",
      "allOf": [
        {
          "$ref": "#/definitions/transactional-templates-template-lean"
        },

And transactional-templates-template-lean is using

        "versions": {
          "type": "array",
          "description": "The different versions of this transactional template.",
          "items": {
            "$ref": "#/definitions/transactional-templates-version-output-lean"
          }
        }

And the issue is that transactional-templates-version-output-lean does not include html_schema or plain_content.

Could this please be considered for fixing.

@JenniferMah JenniferMah added status: help wanted requesting help from the community type: community enhancement feature request not on Twilio's roadmap labels Feb 11, 2022
@JenniferMah
Copy link
Contributor

Hi @iainxt! Thanks for bringing this to our attention. This issue has been added to our internal backlog to be prioritized. Pull requests and +1s on the issue summary will help it move up the backlog.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: help wanted requesting help from the community type: community enhancement feature request not on Twilio's roadmap
Projects
None yet
Development

No branches or pull requests

2 participants