wolfadex / elm-open-api-cli

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

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

Closed wolfadex closed 5 months ago

wolfadex commented 5 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 5 months ago

Released with v0.4.0