sendgrid-oai
sendgrid-oai copied to clipboard
The operation GET /templates/{template_id} response schema is missing html_content and plain_content
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.
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.