From e6123a6ac4d138d5d5b415e64be250b053c629d1 Mon Sep 17 00:00:00 2001 From: Ian Young <ian@iay.org.uk> Date: Fri, 11 May 2018 14:50:37 +0100 Subject: [PATCH] Move application.properties into application --- .classpath | 1 + src/main/resources/application.properties | 5 +++++ swagger/.swagger-codegen-ignore | 1 + 3 files changed, 7 insertions(+) create mode 100644 src/main/resources/application.properties 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.