unmbt/ciallo/openapi does not have a README file
pub struct OpenApiDocument {
info : OpenApiInfo
operations : Array[OperationSpec]
} derive(Eq, Debug)fn OpenApiInfo::OpenApiInfo(title~ : String, version~ : String, description? : String) -> OpenApiInfopub(all) struct OperationSpec {
operation_id : String?
meth : Method
path : String
summary : String?
description : String?
tags : Array[String]
deprecated : Bool
params_schema : SchemaNode?
query_schema : SchemaNode?
body_schema : SchemaNode?
responses : Array[ResponseSpec]
bearer_auth : Bool
} derive(Eq, Debug)fn OperationSpec::OperationSpec(meth~ : Method, path~ : String, operation_id? : String, summary? : String, description? : String, tags? : Array[String], deprecated? : Bool, params_schema? : SchemaNode, query_schema? : SchemaNode, body_schema? : SchemaNode, responses? : Array[ResponseSpec], bearer_auth? : Bool) -> OperationSpecpub(all) enum ResponseKind {
Json(SchemaNode)
Empty
Sse(data_schema~ : SchemaNode, event_schemas~ : Map[String, SchemaNode]?)
Ndjson(item_schema~ : SchemaNode)
Raw(content_type~ : String)
} derive(Eq, Debug)pub(all) struct ResponseSpec {
status : Int
description : String
kind : ResponseKind
} derive(Eq, Debug)fn ResponseSpec::ResponseSpec(status~ : Int, description~ : String, kind? : ResponseKind) -> ResponseSpecfn build_document(info : OpenApiInfo, operations : Array[OperationSpec]) -> OpenApiDocument raise OpenApiErrorfn scalar_html(title~ : String, spec_url? : String, script_url? : String, custom_css? : String) -> StringInstall
Download zipCross-runtime MoonBit web framework with explicit 9-stage lifecycle, scoped encapsulation, typed routes, schema normalization, and OpenAPI 3.1