Parse.
OpenAPI, GraphQL, Protobuf and SQL converge on one unified AST. Everything after this is format-agnostic.
For maintainers whose OpenAPI contract changes, MetaEngine generates the client your repository commits and tells CI when that client no longer matches the contract.
Follow the recorded workflow from a committed client to a passing check after a contract change. The pinned CLI and native runner for this walkthrough are awaiting public release.
Start with Orders v1 and its GET /orders/{id} operation. In the prepared example, the repository-local CLI generates into src/api/generated.
./node_modules/.bin/metaengine init --target openapi/angular --input contracts/orders.openapi.json --output src/api/generated
./node_modules/.bin/metaengine generate
./node_modules/.bin/metaengine check
npm run typecheckCommit the OpenAPI file, generation config, npm lockfile and reviewed generated files.
Orders v2 adds a required region query parameter. The GitHub Action, Azure Pipelines recipe and pre-commit hook run the repository’s installed CLI.
cp ../fixtures/v2/openapi.json contracts/orders.openapi.json
./node_modules/.bin/metaengine checkThe CLI exits 1 and reports changed "services/orders.service.ts". The checkout stays untouched. A malformed contract exits 2.
./node_modules/.bin/metaengine generate
npm run typecheckTypeScript reports TS2554: Expected 2 arguments, but got 1. in src/orders.ts. Update the handwritten caller to pass orders.getOrder(id, region).
./node_modules/.bin/metaengine check
npm run typecheckBoth commands exit 0. Review and commit the contract, generated service and caller together.
Compare generation, compilation and native behavior by specification and generator version in the release evidence.
Switch languages to see how MetaEngine expresses the same types from the playground's e-commerce model.
import { Versioned } from './versioned';
import { UUID } from './uuid';
import { Money } from './money';
import { ProductStatus } from './product-status.enum';
export class Product implements Versioned<UUID> {
id!: UUID;
version!: number;
updatedAt!: Date;
title!: string;
price!: Money;
status!: ProductStatus;
description?: string;
tags?: Array<string>;
}
Every source format becomes the same typed graph. Everything after parsing is format-agnostic — which is why adding a new target or source doesn't force a rewrite of the other.
Follow a generated call, change its input or replay the same example with your own tools.
Four stages — each reasoning about code the way a senior engineer on that stack would, not a string-interpolation pass.
OpenAPI, GraphQL, Protobuf and SQL converge on one unified AST. Everything after this is format-agnostic.
Names, references, type relationships and nullability are resolved semantically — not as strings.
Language-specific passes shape the graph for each target, including Angular Signals, Python Pydantic v2 models and Go net/http clients.
Target emitters write source code with their own layout and formatting rules.
Every converter here runs the same IR pipeline. Source format on the left, target stack on the right — pick the pair that matches your repo.
Three ground rules the engine holds to — so the output of MetaEngine stays legible, stable, and safe to regenerate.
The engine reasons about types, references and nullability — not character substitution. A Pet.id that is a UUID stays a UUID through every emitter.
Each target reads like code a senior engineer on that stack would ship: Angular inject(), React hooks, Python httpx, Go context, Rust Result<T, E>.
Commit the contract, generation settings and reviewed output together. With a pinned generator, CI can check whether the committed client still matches the contract.