From 02a9569cfa2724b442c50cedffb6356d99b18e18 Mon Sep 17 00:00:00 2001 From: Dave A <168838504+daveawc@users.noreply.github.com> Date: Tue, 17 Dec 2024 09:38:31 +0000 Subject: [PATCH] updated serialisation order this serialises data to the order of the fields in a class, previously in the swagger docs it was listing the fields in alphabetical order. --- src/main/resources/application.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index f5acb29077..eb7bd76aaf 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -13,6 +13,7 @@ spring: date-format: "yyyy-MM-dd HH:mm:ss" serialization: WRITE_DATES_AS_TIMESTAMPS: false + ORDER_MAP_ENTRIES_BY_KEYS: true profiles: group: @@ -110,7 +111,6 @@ springdoc: swagger-ui: urls-primary-name: "All CAS" remove-broken-reference-definitions: false - writer-with-order-by-keys: true server: port: 8080