The Amadeus OAS (as seen in the example/ directory) has an error response named error which collides with the custom type this tool generates.
Moving the helper code like the custom error type, the resolveWhatever, and related code to their own module separate from the Api module will resolve this.
The Amadeus OAS (as seen in the example/ directory) has an error response named
error
which collides with the custom type this tool generates.Moving the helper code like the custom error type, the
resolveWhatever
, and related code to their own module separate from theApi
module will resolve this.