From 2713a02bee39fa39cc340bd808b6556460b85f3a Mon Sep 17 00:00:00 2001 From: pmcphee77 <150798161+pmcphee77@users.noreply.github.com> Date: Thu, 20 Jun 2024 11:52:19 +0100 Subject: [PATCH] PI-2288: Added Schema example to registration code (#3928) * PI-2288: Added Schema example to registration code * PI-2288: Added Schema example to registration code --- .../kotlin/uk/gov/justice/digital/hmpps/model/Registration.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/projects/external-api-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/model/Registration.kt b/projects/external-api-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/model/Registration.kt index 5f23e62b8f..9f3cc15061 100644 --- a/projects/external-api-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/model/Registration.kt +++ b/projects/external-api-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/model/Registration.kt @@ -1,9 +1,12 @@ package uk.gov.justice.digital.hmpps.model +import io.swagger.v3.oas.annotations.media.Schema import java.time.LocalDate data class Registration( + @Schema(example = "RCCO") val code: String, + @Schema(example = "Child Concerns") val description: String, val startDate: LocalDate, val reviewDate: LocalDate?,