Skip to content

Commit

Permalink
chore(toolkit): migrate from openapi-typescript-codegen to @hey-api/o…
Browse files Browse the repository at this point in the history
…penapi-ts (#345)

chore(toolkit): update open-api client generator
  • Loading branch information
knajjars authored Jul 3, 2024
1 parent 65e36a6 commit 9125660
Show file tree
Hide file tree
Showing 80 changed files with 5,462 additions and 1,489 deletions.
13 changes: 13 additions & 0 deletions src/interfaces/coral_web/openapi-ts.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { defineConfig } from '@hey-api/openapi-ts';

export default defineConfig({
input: 'http://0.0.0.0:8000/openapi.json',
output: './src/cohere-client/generated',
name: 'CohereClientGenerated',
types: {
enums: 'typescript',
},
services: {
asClass: true,
},
});
Loading

0 comments on commit 9125660

Please sign in to comment.