openapi-typescript version
7.9.1
Node.js version
23.11.0
OS + version
macOS 15.6
Description
shouldThrowError does not seem to throw an error. Even with retry option set to false.
Also it looks like query options should be a fourth parameter according to the documentation, but the 3rd query parameter also allows the types for the options. Regardless, neither seem to respect it.
Reproduction
Create a client, set options to retry: false, showThrownOnError: true.
Have an api return a 500, or pass in a fetch client that rejects a promise to the constructor.
Expected result
Error is thrown, error boundary if provided should pick up.
Required
Extra
openapi-typescript version
7.9.1
Node.js version
23.11.0
OS + version
macOS 15.6
Description
shouldThrowError does not seem to throw an error. Even with retry option set to false.
Also it looks like query options should be a fourth parameter according to the documentation, but the 3rd query parameter also allows the types for the options. Regardless, neither seem to respect it.
Reproduction
Create a client, set options to retry: false, showThrownOnError: true.
Have an api return a 500, or pass in a fetch client that rejects a promise to the constructor.
Expected result
Error is thrown, error boundary if provided should pick up.
Required
npx @redocly/cli@latest lint)Extra