nori/codegen/gleam_wisp

Generates a Wisp framework adapter module as string output.

Produces a Gleam module with JSON response helpers, request body decoding, and a handle_request skeleton that wires routes to handlers. The generated code is a starting point that users customize.

Values

pub fn generate(ir: ir.CodegenIR) -> String

Generates a complete Gleam wisp adapter module string from the CodegenIR.

Search Document