nuxt-openapi-hyperfetch 0.3.4-beta → 0.3.5-beta

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.
@@ -23,11 +23,11 @@ function toAsyncDataName(operationId) {
23
23
  return `useAsyncData${pascalCase(operationId)}`;
24
24
  }
25
25
  /**
26
- * composable name → kebab-case file name (without .ts).
27
- * 'useAsyncDataGetPets' → 'use-async-data-get-pets'
26
+ * composable name → PascalCase file name (without .ts), matching useAsyncData generator output.
27
+ * 'useAsyncDataGetPets' → 'useAsyncDataGetPets'
28
28
  */
29
29
  function toFileName(composableName) {
30
- return kebabCase(composableName);
30
+ return composableName;
31
31
  }
32
32
  // ─── Section builders ─────────────────────────────────────────────────────────
33
33
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-openapi-hyperfetch",
3
- "version": "0.3.4-beta",
3
+ "version": "0.3.5-beta",
4
4
  "description": "Nuxt useFetch, useAsyncData and Nuxt server OpenAPI generator",
5
5
  "type": "module",
6
6
  "author": "",
@@ -29,11 +29,11 @@ function toAsyncDataName(operationId: string): string {
29
29
  }
30
30
 
31
31
  /**
32
- * composable name → kebab-case file name (without .ts).
33
- * 'useAsyncDataGetPets' → 'use-async-data-get-pets'
32
+ * composable name → PascalCase file name (without .ts), matching useAsyncData generator output.
33
+ * 'useAsyncDataGetPets' → 'useAsyncDataGetPets'
34
34
  */
35
35
  function toFileName(composableName: string): string {
36
- return kebabCase(composableName);
36
+ return composableName;
37
37
  }
38
38
 
39
39
  // ─── Section builders ─────────────────────────────────────────────────────────