Commits

Claus Rasmussen authored 265732045d6
Update models, handle note title being optional, OpenAPI generator 5.1.0 now uses the correct parcelize import so remove that part from our generate script
No tags

api/src/main/java/dk/nsp/api/careplan/CareplanControllerMock.kt

Modified
85 85 ActivityPlannedTime(
86 86 firstDateOfCareplan.plusWeeks(6).withHour(10).withMinute(0).withSecond(0),
87 87 firstDateOfCareplan.plusWeeks(6).withHour(11).withMinute(0).withSecond(0)
88 88 ),
89 89 Activity.Ownership.CurrentUser,
90 90 null,
91 91 null,
92 92 null,
93 93 "kind",
94 94 "id?",
95 - null,
95 + Note(
96 + "Her kommer til at stå noget tekst... bla bla bla..",
97 + null,
98 + LocalDateTime.now().minusMonths(4),
99 + "documentId",
100 + BigDecimal(1),
101 + "SorId",
102 + "Peter Petersen"
103 + ),
96 104 listOf(),
97 105 // observations,
98 106 firstDateOfCareplan.plusWeeks(6)
99 107 ),
100 108 // CareplanActivityDTO(
101 109 // null,
102 110 // null,
103 111 // "12+0",
104 112 // null,
105 113 // CareplanStatusDTO.Expected,

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut