ebowman / api-first-hand

API-First bootstrapping tool for building RESTful web services from a Swagger/OpenAPI spec
MIT License
142 stars 22 forks source link

add unmanaged code area for imports #43

Closed domdorn closed 7 years ago

domdorn commented 7 years ago

when filling the methods in the generated actions, it often happens that another type has to be imported.

Allow to put this import into an unmanaged area, so it does not get removed on file-regeneration

s12v commented 7 years ago

👍 would be really useful, looking forward

LappleApple commented 7 years ago

Hi @domdorn and @s12v, if you would like to work on this/contribute a PR, that would be great.

LappleApple commented 7 years ago

Haha @s12v, just realized who you are. :) Need to get used to your username :)

s12v commented 7 years ago

@domdorn, should be solved in 0.2.0: https://github.com/zalando/api-first-hand/blob/master/play-scala-generator/src/main/resources/play_scala_controller.mustache#L16-L22

domdorn commented 7 years ago

awesome! is 0.2.0 already released? didn't see it in the tags

slavaschmidt commented 7 years ago

negative, we still have some serious issues wie are working on, sorry