react-query-lightbase-codegen 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -327,7 +327,6 @@ const generateRestfulComponent = ({ operation, verb, route, operationIds, parame
|
|
|
327
327
|
}
|
|
328
328
|
operationIds.push(operationId);
|
|
329
329
|
route = route.replace(/\{/g, '${').replace('//', '/'); // `/pet/{id}` => `/pet/${id}`
|
|
330
|
-
console.log(route);
|
|
331
330
|
// Remove the last param of the route if we are in the DELETE case
|
|
332
331
|
let lastParamInTheRoute = null;
|
|
333
332
|
const componentName = (0, case_1.pascal)(operationId);
|
|
@@ -307,7 +307,6 @@ export const generateRestfulComponent = ({ operation, verb, route, operationIds,
|
|
|
307
307
|
}
|
|
308
308
|
operationIds.push(operationId);
|
|
309
309
|
route = route.replace(/\{/g, '${').replace('//', '/'); // `/pet/{id}` => `/pet/${id}`
|
|
310
|
-
console.log(route);
|
|
311
310
|
// Remove the last param of the route if we are in the DELETE case
|
|
312
311
|
let lastParamInTheRoute = null;
|
|
313
312
|
const componentName = pascal(operationId);
|