An example of a skeleton for writing java and scala microservices using an Api contract first approach using play 2.6 and swagger code gen
It uses maven swagger code gen plugin for starting from an openapi 2.0 (3.0 is still not supported) file specification for generated a skeleton of a Java Play with controllers apiModels ecc... but it is based on Scala 2.12 and sbt 13.3.
mvn clean compile sbt compile run
mvn clean compile sbt eval System.setProperty("STAGING", "true") reload compile docker:publish
mvn clean compile sbt compile docker:publish