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
-`--output`, `-o`: Specify the output directory. Default: `dist`
24
24
-`--framework`, `-f`: (Optional) Specify the target framework. Options: `next`
25
25
-`--schemas`, `-s`: (Optional) Specify the path for predefined zod schemas. Multiple paths can be provided, separated by commas.
26
+
-`--definer`: (Optional) Name of the function that was exported from the [`Next OpenAPI Route Handler`](https://www.npmjs.com/package/@omer-x/next-openapi-route-handler)
26
27
27
28
## Example
28
29
29
30
```bash
30
31
generate-service-interface -o dist -f next -s src/models
31
32
generate-service-interface -o dist -f next -s src/models/user,src/models/message
33
+
generate-service-interface -f next --definer createRoute
0 commit comments