Examples
Start from a working project
Each example is a directory of the repository. Its README gives the command to run it and the output to expect.
Supplied repository credentialsBuild with models from a registry that needs a token.authenticated-repositoriesPinned GitHub release assetsUse model archives attached to a release.github-releaseValidate JSON-RPC messages, batches and transcriptsPeers, lifecycle and batch transcripts with expectations.json-rpcPinned public Maven JARsBuild with pinned JARs from a Maven repository.maven-repositoryLocal npm archivesBuild with models from local npm archives.npm-archiveExact public npm packagesBuild with models from public npm packages.npm-registryExport a service as OpenRPCGenerate an OpenRPC 1.3.2 document from a service.openrpcValidate HTTP protocol test casesCheck HTTP protocol test cases in a model.protocol-testsPublic archive URLsBuild with models from a public ZIP archive.public-archiveValidate JSON-RPC messages from a library consumerCheck JSON-RPC messages from a MoonBit program.rpc-consumerValidate a JSON value from a library consumerCheck JSON against a shape from a MoonBit program.validation-consumer