Expand description
Content API with correct anyOf union handling.
The OpenAPI code generator flattens anyOf responses into a single struct
with every field required, which fails at runtime
(openapi-generator#9497).
This module provides a hand-written Content enum that correctly
discriminates on the "type" field and deserializes into the appropriate
variant.
Structs§
- DirContent
- A directory listing with correctly typed entries.
Enums§
- Content
- Content returned by the content endpoint.
- DirEntry
- A single entry inside a directory listing.
- GetContent
Error - Typed errors returned by
get_content. struct for typed errors of methodget_by_org_by_repo_content
Functions§
- get_
content - Get file content or directory listing at a path.