Cross-runtime MoonBit web framework with explicit 9-stage lifecycle, scoped encapsulation, typed routes, schema normalization, and OpenAPI 3.1
fn build_document(info : OpenApiInfo, operations : Array[OperationSpec]) -> OpenApiDocument raise OpenApiErrorfn coerce_query_params(raw : Map[String, Array[String]], schema : SchemaNode) -> Json raise ValidationErrorfn scalar_html(title~ : String, spec_url? : String, script_url? : String, custom_css? : String) -> Stringfn status_reason(code : Int) -> StringInstall
Download zipCross-runtime MoonBit web framework with explicit 9-stage lifecycle, scoped encapsulation, typed routes, schema normalization, and OpenAPI 3.1