We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab2425e commit f1df2ceCopy full SHA for f1df2ce
src/cli.js
@@ -19,7 +19,7 @@ const loadConfig = (endpointsFile) => {
19
}
20
};
21
22
-const createEndpoints = (config) => {
+const createEndpoints = (config, resultFile) => {
23
console.log('Generate', resultFile);
24
for (let endpoint of config) {
25
console.log('GET', endpoint.path, '=>', endpoint.get);
@@ -42,4 +42,4 @@ const createEndpoints = (config) => {
42
43
44
const config = loadConfig(endpointsFile);
45
-createEndpoints(config);
+createEndpoints(config, resultFile);
0 commit comments