Spaces:
Build error
Build error
Colab User commited on
Commit ·
84a5229
1
Parent(s): 1b9b278
Initial commit: Deploy rasa-engine API server
Browse files
lib/api-spec/orval.config.ts
CHANGED
|
@@ -3,7 +3,7 @@ import path from "path";
|
|
| 3 |
|
| 4 |
const root = path.resolve(__dirname, "..", "..");
|
| 5 |
// const apiClientReactSrc = path.resolve(root, "lib", "api-client-react", "src"); // This client is not used for API server deployment
|
| 6 |
-
const apiZodSrc = path.resolve(root, "
|
| 7 |
|
| 8 |
// Our exports make assumptions about the title of the API being "Api" (i.e. generated output is `api.ts`).
|
| 9 |
const titleTransformer: InputTransformerFn = (config) => {
|
|
|
|
| 3 |
|
| 4 |
const root = path.resolve(__dirname, "..", "..");
|
| 5 |
// const apiClientReactSrc = path.resolve(root, "lib", "api-client-react", "src"); // This client is not used for API server deployment
|
| 6 |
+
const apiZodSrc = path.resolve(root, "artifacts", "api-zod", "src"); // Generate into artifacts/api-zod/src
|
| 7 |
|
| 8 |
// Our exports make assumptions about the title of the API being "Api" (i.e. generated output is `api.ts`).
|
| 9 |
const titleTransformer: InputTransformerFn = (config) => {
|