moonbitstack/moonmodel/examples/annotations does not have a README file
pub struct Home { city : String zip : String}
fn Home::describe() -> @moonbitstack/moonmodel.ModelModel
pub enum Role { Admin Member Guest}
pub struct User { id : Int64 name : String email : String? age : Int? role : Role weight : Double home : Home tags : Array[String] joined : String count : Int visits : Int}
fn User::describe() -> @moonbitstack/moonmodel.ModelModel
Install
One model description for MoonBit, projected to JSON Schema, OpenAPI, SQL and GraphQL.
Published modules that use this version
Powered by MoonBit
© 2026 mooncakes.io