TOON support in OpenAPI 3.3? #5140
miqui
started this conversation in
Enhancements
Replies: 1 comment 6 replies
-
|
@lornajane , @ralfhandl , @handrews - what do you think my friends? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This proposal recommends adding support for TOON as a structured data format in the OpenAPI Specification, for example via a registered media type such as application/toon. The aim is not to replace JSON as the default wire format, but to provide an alternative representation for operations where the primary consumer is an LLM or AI agent and token-efficiency is a key requirement. TOON’s design—schema-aware, tabular-friendly, and punctuation-light—allows the same OpenAPI-described schema to be serialized with significantly fewer tokens than JSON, improving cost, latency, and context utilization in AI-heavy systems.
Beta Was this translation helpful? Give feedback.
All reactions