Each command directory now has both index.md (reference) and example.md (usage examples and configuration samples). Also adds exception for docs/cmd/build in .gitignore. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
694 B
694 B
SDK Build Examples
Generate All SDKs
core build sdk
Specific Language
core build sdk --lang typescript
core build sdk --lang php
core build sdk --lang go
Custom Spec
core build sdk --spec ./api/openapi.yaml
With Version
core build sdk --version v2.0.0
Preview
core build sdk --dry-run
Configuration
.core/sdk.yaml:
version: 1
spec: ./api/openapi.yaml
languages:
- name: typescript
output: sdk/typescript
package: "@myorg/api-client"
- name: php
output: sdk/php
namespace: MyOrg\ApiClient
- name: go
output: sdk/go
module: github.com/myorg/api-client-go