Recent searches


No recent searches

Ticket API OpenAPI array-type issues/bugs



Posted Dec 19, 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 comment

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


Please sign in to leave a comment.

Didn't find what you're looking for?

New post