wolfadex / elm-open-api-cli

A CLI tool for generating Elm modules from Open API specs.
https://www.npmjs.com/package/elm-open-api
26 stars 7 forks source link

Name collision with the custom error name of `Error` #81

Closed wolfadex closed 6 months ago

wolfadex commented 6 months ago

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.

wolfadex commented 6 months ago

Released with v0.4.0