mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 19:33:55 +00:00
40610373f6
* Update JavaJaxRS/resteasy/api.mustache to have swagger annotations The annotations should now appear on generated resteasy API classes. * Re-generate resteasy petstore sample * Add swagger-annotations to rest-easy samples as a dependency * Regenerat pom.xml and build.gradle files for resteasy
32 lines
1.0 KiB
Groovy
32 lines
1.0 KiB
Groovy
apply plugin: 'war'
|
|
|
|
project.version = "1.0.0"
|
|
project.group = "io.swagger"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
providedCompile 'org.jboss.resteasy:resteasy-jaxrs:3.0.11.Final'
|
|
providedCompile 'org.jboss.resteasy:jaxrs-api:3.0.11.Final'
|
|
providedCompile 'org.jboss.resteasy:resteasy-validator-provider-11:3.0.11.Final'
|
|
providedCompile 'org.jboss.resteasy:resteasy-multipart-provider:3.0.11.Final'
|
|
providedCompile 'javax.annotation:javax.annotation-api:1.2'
|
|
providedCompile 'org.jboss.spec.javax.servlet:jboss-servlet-api_3.0_spec:1.0.0.Final'
|
|
compile 'io.swagger:swagger-annotations:1.5.10'
|
|
compile 'org.jboss.resteasy:resteasy-jackson2-provider:3.0.11.Final'
|
|
compile 'com.fasterxml.jackson.datatype:jackson-datatype-joda:2.4.1'
|
|
compile 'joda-time:joda-time:2.7'
|
|
testCompile 'junit:junit:4.12',
|
|
'org.hamcrest:hamcrest-core:1.3'
|
|
}
|
|
|
|
sourceSets {
|
|
main {
|
|
java {
|
|
srcDir 'src/gen/java'
|
|
}
|
|
}
|
|
}
|