diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2f7896d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +target/ diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..62ed212 --- /dev/null +++ b/pom.xml @@ -0,0 +1,164 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 1.5.9.RELEASE + + + uk.org.iay.incommon.validator + inc-validator + 1.0.0 + + jar + + + UTF-8 + https://api.swaggerhub.com/apis/iay/inc-validator/1.0.0 + + 1.8 + ${java.version} + ${java.version} + + 2.7.0 + + + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.boot + spring-boot-starter-tomcat + + + + io.springfox + springfox-swagger2 + ${springfox-version} + + + io.springfox + springfox-swagger-ui + ${springfox-version} + + + com.fasterxml.jackson.datatype + jackson-datatype-joda + + + + javax.validation + validation-api + + + + + src/main/java + + + + + + maven-resources-plugin + 3.0.2 + + + copy-resources + validate + + copy-resources + + + ${project.basedir}/target/generated-sources/swagger + + + ${project.basedir}/swagger + + .swagger-codegen-ignore + + + + + + + + + + + io.swagger + swagger-codegen-maven-plugin + 2.3.1 + + + + generate + + + ${spec.url} + spring + + uk.org.iay.incommon.validator + uk.org.iay.incommon.validator.models + uk.org.iay.incommon.validator.api + false + true + true + + + false + + + + joda + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + repackage + + + + + + + + + + + lint + + + + org.apache.maven.plugins + maven-compiler-plugin + + true + true + true + -Xlint:unchecked + + + + + + + + diff --git a/swagger/.swagger-codegen-ignore b/swagger/.swagger-codegen-ignore new file mode 100644 index 0000000..3ef3f8f --- /dev/null +++ b/swagger/.swagger-codegen-ignore @@ -0,0 +1,11 @@ +# +# .swagger-codegen-ignore +# +# Specific files to *not* generate using swagger-codegen. +# + +# +# Don't generate some of the random support files. +# +pom.xml +README.md