Pesquisas recentes


Sem pesquisas recentes

Ticket API OpenAPI array-type issues/bugs



Publicado 19 de dez. de 2023

Thanks for the new OpenAPI schema. I've found a couple of issues with it. Let me know if there's a better place to leave these bug reports.

Many fields/properties of `type: array` either:

1. Have no `items` property altogether. As one specific example, the `TicketUpdateInput` schema has a `tags` property, which is `type: array`, but does not specify items, and therefore we cannot programmatically determine that this is (presumably) an array of strings.

2. Have specified a `properties` property instead of an `items` property. Consider the example of `PushNotificationDevicesInput`, which is `type: array` but has `properties: …` instead of `items: …`.

Additionally, some schema/component names have a trailing `.yaml` for some reason. I assume this is erroneous, but I could be wrong.


0

1

1 comentário

image avatar

Brandon Taylor

Zendesk Luminary

I was really hoping to be able to import the schema into ChatGPT's custom GPT but alas, it did not work :(

0


Por favor, entrar para comentar.

Não encontrou o que estava procurando?

Nova publicação