bug: Enums in the HTTP API aren't rendered correctly in documentation #8024
Labels
bug
docs
protocol-engine
Ticket related to the Protocol Engine project and associated HTTP APIs
robot-svcs
Falls under the purview of the Robot Services squad (formerly CPX, Core Platform Experience).
Copied from #8006 (comment)...
There's some weirdness happening to our enums. Here's a snippet from our generated OpenAPI spec:
The
anyOf
const
s looks good, but, on/redoc
...(This example is from the response of
GET {{hostname}}:31950/sessions/{{session_id}}/commands
.)I don't know if this is a
/redoc
problem or a Pydantic problem or what.The text was updated successfully, but these errors were encountered: