Skip to content

Commit 1da3a82

Browse files
#137 OpenAPI spec generation from Zod (#141)
1 parent 4108ef2 commit 1da3a82

14 files changed

Lines changed: 4830 additions & 955 deletions

File tree

.github/workflows/typedoc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
cache: npm
2121
- run: npm ci || npm install
2222
- run: npx prisma generate
23+
- run: npm run docs:openapi
2324
- run: npx typedoc
2425
- name: Deploy to gh-pages
2526
uses: peaceiris/actions-gh-pages@v3

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ docker-compose up --build
129129

130130
### REST API Specification
131131

132-
A complete, production-grade OpenAPI 3.0 specification is available for all Wraith REST endpoints.
132+
A complete, production-grade OpenAPI 3.0 specification is generated from the shared Zod schemas used by the API handlers.
133133

134-
- **[openapi.yaml](./openapi.yaml)**
134+
- **[openapi.json](./docs/openapi.json)**
135135

136136
You can use this file to explore the API, generate client SDKs, or import it into tools like:
137137

@@ -550,4 +550,3 @@ npx @veil/wraith-cli webhooks delete <webhook-id>
550550
- [SEP-41 Token Interface](https://stellar.org/protocol/sep-41)
551551
- [Token Transfer Processor](https://developers.stellar.org/docs/data/indexers/build-your-own/processors/token-transfer-processor)
552552
- [Galexie — Ledger Data Lake](https://developers.stellar.org/docs/data/indexers)
553-

0 commit comments

Comments
 (0)