Overriding the name/location of swagger.yml
arteme opened this issue · 1 comments
arteme commented
It would be nice to be able to override location and name of the swagger.yml
file directly from SBT. In my case, I'm trying to do preprocessing to generate parts of the file and I want to be able to specify my own file as the input to the swagger JSON generation.
tilmanginzel commented
Hi @arteme, is this what you are looking for?
// build.sbt
swaggerTarget := new File("path/to/swagger/location")
swaggerFileName := "customSwagger.json"