Expand description
Glue between the CLI and spikard_codegen::sql.
Reads schema DDL + annotated query files from disk, runs scythe’s parser
and analyzer, builds the handler set via spikard_codegen::sql, and writes
handlers.json (route list), openapi.json (the spec), and
spikard-sql.json (sidecar) to the output directory.
Structs§
- SqlCodegen
Config - SqlCodegen
Output - Output of
generate_from_sql_dir— the three artifacts always written to the output directory.