oaspec/codegen/server
Values
pub fn generate(
ctx: context.Context,
) -> List(context.GeneratedFile)
Generate server stub files.
Issue #247 splits the handler surface in two:
handlers.gleamcarries user-editable panic stubs and is emitted only on first generation (SkipIfExists). Re-runningoaspec generateleaves it alone, so user implementations survive regeneration.handlers_generated.gleamis a sealed delegator thatrouter.gleamimports. Each operation forwards tohandlers.<op_name>(req). It is always overwritten so the wiring stays in lock-step with the spec.