api-client-development

Installation
SKILL.md

API Client Development

This skill covers creating typed API clients using OpenAPI specifications, with proper authentication and OAuth scope handling. It builds on the patterns in SDK Module Development.

Overview

API clients in this project use:

  • openapi-fetch: Type-safe HTTP client generated from OpenAPI specs
  • openapi-typescript: Generates TypeScript types from OpenAPI specs
  • Middleware pattern: Auth and logging injected via openapi-fetch middleware

Creating a New API Client

1. Add the OpenAPI Spec

Place the spec in packages/b2c-tooling-sdk/specs/:

Installs
16
GitHub Stars
45
First Seen
Mar 4, 2026
api-client-development — salesforcecommercecloud/b2c-developer-tooling