{# One entry from `components.schemas` — a type the API exchanges. Half of an API's contract is its endpoints and the other half is its types: every generated client is built from these, and a reference documenting the paths but not the payloads has documented the easy half. Swagger calls this section "Schemas"; it lands in the same panel an operation does, so the sidebar stays the one index for both. A partial, carrying the detail panel's id and swapped `outerHTML` — the same contract `_operation.html` follows, which lets one sidebar swap either kind of thing into the same place. #} {% from "apidocs/macros.html" import field_table, op_line %} {% from "ui/data.html" import badge, card, code_block, empty_state %} {% from "ui/layout.html" import section, stack %} {% from "ui/tabs.html" import tab_panel, tabs %}
{{ model.name }}
{{ badge(model.kind, "secondary") }}
{{ model.description }}
{% endif %} {% endcall %} {% if model.kind == "enum" %} {% call section("Values", "The complete set. Anything else is a 422.") %}{{ choice }}{% endfor %}