Files
kaya/packages
woggioni ea82ac44e9
CI / Build Pip package (push) Successful in 7m57s
Add reusable component schemas to kaya-openapi
Operations could only inline schemas: the generated document had no
components section, so #/components/... references dangled. OpenAPIMixin
and generate_spec now accept a components mapping (merged verbatim into
the document) and kaya.openapi exports schema_ref() to build
#/components/schemas/<name> references. Component references are
validated at generation time and unknown ones raise ValueError.
2026-10-14 20:37:14 +08:00
..