Documentation Feedback: Missing indentation in Python/JS code examples for Structured Outputs
OpenAI Developer Community
May 26, 2026
The examples in the API reference are quite literal in the reference.
The documentation, however, is OpenAI’s own “source”, so indeed, they’ll need to get into the code and the content, and discover the solution themselves.
Thanks!
Discussion in the ATmosphere