Skip to content

Commit

Permalink
Fix missing 'type' field to REST response
Browse files Browse the repository at this point in the history
  • Loading branch information
pvannierop committed Jul 9, 2024
1 parent ea9aa06 commit 869f1e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ data class ObservationDto(
*/
val period: String?,

/** Type of the value field; can be INTEGER, DOUBLE, STRING or STRING_JSON. */
val type: String,

/**
* Value of the observation. This should adhere to the coding system and type of the
* variable.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ data class Observation(
@Column(name = "observation_time_end")
val observationTimeEnd: ZonedDateTime?,

val type: String,

@Column(name = "value_textual")
val valueTextual: String?,

Expand Down

0 comments on commit 869f1e4

Please sign in to comment.