diff --git a/.classpath b/.classpath index d9ea637..3649390 100644 --- a/.classpath +++ b/.classpath @@ -17,6 +17,7 @@ <attribute name="maven.pomderived" value="true"/> </attributes> </classpathentry> + <classpathentry kind="src" path="src/main/resources"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"> <attributes> <attribute name="maven.pomderived" value="true"/> diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties new file mode 100644 index 0000000..03ec22f --- /dev/null +++ b/src/main/resources/application.properties @@ -0,0 +1,5 @@ +springfox.documentation.swagger.v2.path=/api-docs +server.contextPath= +server.port=8080 +spring.jackson.date-format=uk.org.iay.incommon.validator.RFC3339DateFormat +spring.jackson.serialization.WRITE_DATES_AS_TIMESTAMPS=false diff --git a/swagger/.swagger-codegen-ignore b/swagger/.swagger-codegen-ignore index 1e39525..eb01be8 100644 --- a/swagger/.swagger-codegen-ignore +++ b/swagger/.swagger-codegen-ignore @@ -9,6 +9,7 @@ # pom.xml README.md +**/application.properties # # Don't generate dummy controllers once we have implemented them.