Skip to content

Commit

Permalink
updated serialisation order
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
daveawc committed Dec 17, 2024
1 parent 848135f commit 02a9569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 02a9569

Please sign in to comment.