nuxt-open-fetch
nuxt-open-fetch copied to clipboard
Response type helpers only include 200 response codes
Environment
- Operating System: Darwin
- Node Version: v22.12.0
- Nuxt Version: 3.15.4
- CLI Version: 3.22.5
- Nitro Version: 2.10.4
- Package Manager: [email protected]
- Builder: -
- User Config: -
- Runtime Modules: -
- Build Modules: -
Reproduction
The generated Response types here only include 200 response codes.
Describe the bug
In order to utilize the Response type helpers in a downstream application, all 2xx response codes should be supported in order to utilize interfaces from endpoints that return a non-200 status (e.g. 201)
Additional context
No response
Logs
@enkot this PR should resolve 😄 https://github.com/enkot/nuxt-open-fetch/pull/89