• Add reusable component schemas to kaya-openapi
    CI / Build Pip package (push) Successful in 7m57s

    woggioni released this 2026-10-14 14:37:14 +02:00 | 2 commits to main since this release

    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/ references. Component references are
    validated at generation time and unknown ones raise ValueError.

    Downloads