Skip to content
This repository was archived by the owner on Oct 25, 2023. It is now read-only.

Commit 7440945

Browse files
committed
📝 Update README.md: Added "generateClient", "typePrefix", "typeSuffix" options to readme for NodeJS usage acacode#335.
1 parent ebc7f6f commit 7440945

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ generateApi({
109109
templates: path.resolve(process.cwd(), './api-templates'),
110110
httpClientType: "axios", // or "fetch"
111111
defaultResponseAsSuccess: false,
112+
generateClient: true,
112113
generateRouteTypes: false,
113114
generateResponses: true,
114115
toJS: false,
@@ -126,6 +127,8 @@ generateApi({
126127
enumNamesAsValues: false,
127128
moduleNameFirstTag: false,
128129
generateUnionEnums: false,
130+
typePrefix: '',
131+
typeSuffix: '',
129132
extraTemplates: [],
130133
hooks: {
131134
onCreateComponent: (component) => {},

0 commit comments

Comments
 (0)