Closed abingham closed 7 years ago
I agree that would be a useful feature! It's not possible yet though. Meanwhile you could do something like cat swagger.json | swagger-to-elm | sed 's/^module Decoder/module Mymodule/' > Mymodule.elm
.
Ok, thanks.
Is there a way to specify the name of the module generated by swagger-to-elm? I can't find one.
This feature would be useful in cases where swagger-to-elm is used as part of an automated build process and I need the output as part of a larger Elm project.