forked from loafle/openapi-generator-original
* First commit of the Java Play Framework server generator. It is highly based on Spring so there might me a couple of things that don't make sense (like options or parameters) for the Play Framework. * Fix suggestions in the PR discussion + add .bat and .sh file as requested. * Updated Readme.md file * Remove unused mustache file + fix baseName vs paramName in all the mustache files. * Fix the compilation error when we have a body which is a list or map. Doesn't fix the problem with the annotation itself. * Fix the problem with the Http.MultipartFormData.FilePart * - Add "wrapCalls" and "useSwaggerUI" CLI Options and updated what handleException does to follow Play Framework lifecycle more closely - Updated all mustache files accordingly - Updated the sample - Updates Play Framework version to the latest 2.5.13
17 lines
379 B
Plaintext
17 lines
379 B
Plaintext
name := """{{artifactId}}"""
|
|
|
|
version := "1.0-SNAPSHOT"
|
|
|
|
lazy val root = (project in file(".")).enablePlugins(PlayJava)
|
|
|
|
scalaVersion := "2.11.7"
|
|
|
|
libraryDependencies ++= Seq(
|
|
javaJdbc,
|
|
cache,
|
|
javaWs{{#useSwaggerUI}},
|
|
"org.webjars" % "swagger-ui" % "2.2.10-1"{{/useSwaggerUI}}{{#useBeanValidation}},
|
|
"javax.validation" % "validation-api" % "1.1.0.Final"
|
|
{{/useBeanValidation}}
|
|
)
|