You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/openapi-ts/src/plugins/@hey-api/sdk/config.ts
+33-9Lines changed: 33 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,16 @@
1
+
import{log}from'@hey-api/codegen-core';
1
2
import{definePluginConfig}from'@hey-api/shared';
2
3
3
4
import{resolveExamples}from'./examples';
4
5
import{resolveOperations}from'./operations';
5
6
import{handler}from'./plugin';
6
7
importtype{HeyApiSdkPlugin}from'./types';
7
8
9
+
consttransformerInferWarn=
10
+
'You set `transformer: true` but no transformer plugin was found in your plugins. Add a transformer plugin like `@hey-api/transformers` to enable this feature. The transformer option has been disabled.';
11
+
constvalidatorInferWarn=
12
+
'You set `validator: true` but no validator plugin was found in your plugins. Add a validator plugin like `zod` to enable this feature. The validator option has been disabled.';
0 commit comments