nuxt-openapi-hyperfetch 1.0.0 → 1.0.2
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.
- package/README.md +8 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
# nuxt-openapi-hyperfetch
|
|
2
|
+
|
|
3
|
+
<p align="center">
|
|
2
4
|
<img src="https://raw.githubusercontent.com/dmartindiaz/nuxt-openapi-hyperfetch/main/public/nuxt-openapi-hyperfetch-logo.png" alt="Nuxt OpenAPI Hyperfetch logo" width="260" />
|
|
3
5
|
</p>
|
|
4
6
|
|
|
@@ -9,7 +11,9 @@
|
|
|
9
11
|
|
|
10
12
|
<p align="center">
|
|
11
13
|
<a href="https://nuxt-openapi-hyperfetch.netlify.app/">📖 Documentation</a> ·
|
|
12
|
-
<a href="#
|
|
14
|
+
<a href="#ready-to-use-usefetch-and-useasyncdata-composables">useFetch & useAsyncData</a> ·
|
|
15
|
+
<a href="#ready-to-use-nuxt-server-routes">Nuxt Server</a> ·
|
|
16
|
+
<a href="#connectors">Headless UI Connectors</a> ·
|
|
13
17
|
<a href="#installation">Installation</a> ·
|
|
14
18
|
<a href="#quick-start">Quick Start</a>
|
|
15
19
|
</p>
|
|
@@ -41,7 +45,7 @@ All output is 100% Nuxt-native. No runtime dependencies in the generated code.
|
|
|
41
45
|
|
|
42
46
|
---
|
|
43
47
|
|
|
44
|
-
##
|
|
48
|
+
## Ready to use: `useFetch` and `useAsyncData` composables
|
|
45
49
|
|
|
46
50
|
One composable per endpoint, for when you need direct control:
|
|
47
51
|
|
|
@@ -83,7 +87,7 @@ const { data: pets } = await useAsyncDataFindPets(
|
|
|
83
87
|
|
|
84
88
|
---
|
|
85
89
|
|
|
86
|
-
##
|
|
90
|
+
## Ready to use: Nuxt Server Routes
|
|
87
91
|
|
|
88
92
|
Proxy endpoints to keep API keys server-side:
|
|
89
93
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-openapi-hyperfetch",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Nuxt useFetch, useAsyncData, Nuxt server & Headless UI connectors OpenAPI generator",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "",
|
|
@@ -90,5 +90,5 @@
|
|
|
90
90
|
"prettier": "^3.8.1",
|
|
91
91
|
"ts-morph": "^27.0.2"
|
|
92
92
|
},
|
|
93
|
-
"keywords": []
|
|
93
|
+
"keywords": ["nuxt", "openapi", "swagger", "codegen", "composables", "useFetch", "useAsyncData", "typescript", "zod", "connector"]
|
|
94
94
|
}
|