API CONTRACTS

OpenAPI & typed SDK

RAIQL 0.17 turns CREATE API declarations into portable machine-readable contracts and client code.

Generate OpenAPI

GENERATE OPENAPI;

The compiler emits openapi.json using OpenAPI 3.1. Entity fields become component schemas and generated resource routes become path operations.

Generate a TypeScript client

GENERATE SDK TYPESCRIPT;

The generated sdk/typescript/client.ts contains typed entity interfaces and list/create/update/delete methods for declared API/CRUD resources.

Security contract

If JWT authentication is declared, the OpenAPI document includes an HTTP bearer security scheme and protected operations reference it.

Continue exploring RAIQLOpen the playground →