ahultgren / swagger-elm

Generate Elm types and decoders based on a Swagger file
74 stars 9 forks source link

Elm format has no NPM package (sadly) so is an 'uncharted' dev dependency #2

Closed mandrolic closed 7 years ago

mandrolic commented 8 years ago

Perhaps test for it's presence and use iff it is available

ahultgren commented 7 years ago

I think it's best to leave elm-format up to the user. Thus usage would be cat swagger.json | swagger-to-elm | elm-format for those who want it formatted (with no guarantee the code will actually work if not).