oaspec/codegen/decoders

Values

pub fn generate(
  ctx: context.Context,
) -> List(context.GeneratedFile)

Generate the decode.gleam module for the resolved spec.

Encoder generation lives in src/oaspec/codegen/encoders.gleam; see generate.gleam::generate_shared for how the two halves are combined.

Search Document