react-query-lightbase-codegen 2.0.3 → 2.0.4

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.
@@ -28,7 +28,7 @@ function generateQueryOptions(operation, spec) {
28
28
  })
29
29
  : []),
30
30
  ];
31
- const namedQueryOptions = (0, utils_1.camelCase)(`get_${operationId}_Query_Options`);
31
+ const namedQueryOptions = `get${operationId}QueryOptions`;
32
32
  const namedQuery = (0, utils_1.camelCase)(`${method}_${operationId}`);
33
33
  return `
34
34
  export const ${namedQueryOptions} = (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-query-lightbase-codegen",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "license": "MIT",
5
5
  "description": "Generate Axios API clients and React Query options from OpenAPI specifications",
6
6
  "exports": "./dist/index.js",
@@ -35,7 +35,7 @@ function generateQueryOptions(operation: OperationInfo, spec: OpenAPIV3.Document
35
35
  : []),
36
36
  ];
37
37
 
38
- const namedQueryOptions = camelCase(`get_${operationId}_Query_Options`);
38
+ const namedQueryOptions = `get${operationId}QueryOptions`;
39
39
  const namedQuery = camelCase(`${method}_${operationId}`);
40
40
 
41
41
  return `