phantasos¶
Generate Python SDKs and command-line tools from OpenAPI specs. phantasos wraps
OpenAPI Generator and adds generic spec
preprocessing, codegen-bug patches, vendored components (auth, pagination,
errors, a resource facade) selected per spec, and a complete project scaffold.
Install¶
pip install -e .
Build an SDK and CLI¶
phantasos sdk build prisma-browser # SDK from products/prisma-browser/
phantasos cli build prisma-browser # CLI from the built SDK
See the Authoring guide to onboard a new spec, the
Architecture for the design, and the
API Reference for the phantasos package.