diff --git a/codegen/src/main/scala/app/SwaggerCodegen.scala b/codegen/src/main/scala/app/SwaggerCodegen.scala index fb24069..46575c4 100644 --- a/codegen/src/main/scala/app/SwaggerCodegen.scala +++ b/codegen/src/main/scala/app/SwaggerCodegen.scala @@ -67,7 +67,7 @@ object SwaggerCodegen extends App { else Seq.empty) } { val packageName = f.nameWithoutExtension.toLowerCase.takeWhile(_ != '_') - val routerName = swaggerTag.toUpperCamelCase + val routerName = swaggerTag.toUpperCamelCase + "Router" println(s"- Running Codegen for Swagger Tag $swaggerTag") val target = file"server/app/controllers/swagger/$apiVersion/$packageName/$routerName.scala"