@abapify/adt-contracts
v0.4.60
Published
SAP ADT REST API contracts using speci + ts-xsd
Readme
@abapify/adt-contracts
SAP ADT REST API contracts using speci + ts-xsd.
Install
npm install @abapify/adt-contractsUsage
import { adtContract } from '@abapify/adt-contracts';
import { createClient, createFetchAdapter } from '@abapify/speci/rest';
const baseUrl = 'https://sap.example.com';
const adapter = createFetchAdapter();
const client = createClient(adtContract, { baseUrl, adapter });Features
- Typed ADT REST contracts built with
speci+ts-xsd - Request / response types inferred from SAP XSD schemas
- Single source for the client, mock server, and proxy
Documentation
adt-cli.netlify.app/sdk/packages/adt-contracts
Part of abapify — open, typed tooling for SAP ABAP Development Tools (ADT): CLI, MCP server, and SDK.
