Skip to content

Commit

Permalink
PI-2288: Added Schema example to registration code (#3928)
Browse files Browse the repository at this point in the history
* PI-2288: Added Schema example to registration code

* PI-2288: Added Schema example to registration code
  • Loading branch information
pmcphee77 authored Jun 20, 2024
1 parent abcd8d6 commit 2713a02
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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?,
Expand Down

0 comments on commit 2713a02

Please sign in to comment.