mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-18 07:30:51 +00:00
* Add support for the google-api-client * When there's no return type, just return (no parsing the response) * Update the deserialization to use a Jackson typeref. * Delete the auth mustache files as we don't need them * Stop generating unneeded auth files; get SBT/gradle working with the generated module * Add builder-style methods to the google-api-client ApiClient for getting API instances * Update the README to reflect the new client library option * Generated overloaded methods to send query params as a Map<String, Object> * Add files for Sample codes * Add type in angle brackets to support Java 6 * Required query params must be added to the Map of params. Update sample code. * Use explicit types instead of diamonds to support Java6 in one more place. * Clean up javadoc warnings in generated code / remove pointless return statements * Clean up extra newlines in generated code
23 lines
1.0 KiB
Scala
23 lines
1.0 KiB
Scala
lazy val root = (project in file(".")).
|
|
settings(
|
|
organization := "io.swagger",
|
|
name := "swagger-petstore-google-api-client",
|
|
version := "1.0.0",
|
|
scalaVersion := "2.11.4",
|
|
scalacOptions ++= Seq("-feature"),
|
|
javacOptions in compile ++= Seq("-Xlint:deprecation"),
|
|
publishArtifact in (Compile, packageDoc) := false,
|
|
resolvers += Resolver.mavenLocal,
|
|
libraryDependencies ++= Seq(
|
|
"io.swagger" % "swagger-annotations" % "1.5.15",
|
|
"com.google.api-client" % "google-api-client" % "1.23.0",
|
|
"org.glassfish.jersey.core" % "jersey-common" % "2.25.1",
|
|
"com.fasterxml.jackson.core" % "jackson-core" % "2.8.9" % "compile",
|
|
"com.fasterxml.jackson.core" % "jackson-annotations" % "2.8.9" % "compile",
|
|
"com.fasterxml.jackson.core" % "jackson-databind" % "2.8.9" % "compile",
|
|
"com.github.joschi.jackson" % "jackson-datatype-threetenbp" % "2.6.4" % "compile",
|
|
"junit" % "junit" % "4.12" % "test",
|
|
"com.novocode" % "junit-interface" % "0.10" % "test"
|
|
)
|
|
)
|