You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/main/kotlin/uk/gov/justice/digital/hmpps/personintegrationapi/common/client/request/UpdateNationality.kt
Copy file name to clipboardexpand all lines: src/main/kotlin/uk/gov/justice/digital/hmpps/personintegrationapi/corepersonrecord/dto/request/CorePersonRecordV1UpdateRequestDto.kt
-22
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,6 @@ import java.time.LocalDate
16
16
JsonSubTypes.Type(name =CorePersonRecordV1UpdateRequestDto.BIRTHPLACE, value =BirthplaceUpdateDto::class),
17
17
JsonSubTypes.Type(name =CorePersonRecordV1UpdateRequestDto.COUNTRY_OF_BIRTH, value =CountryOfBirthUpdateDto::class),
18
18
JsonSubTypes.Type(name =CorePersonRecordV1UpdateRequestDto.DATE_OF_BIRTH, value =DateOfBirthUpdateDto::class),
19
-
JsonSubTypes.Type(name =CorePersonRecordV1UpdateRequestDto.NATIONALITY, value =NationalityUpdateDto::class),
20
19
)
21
20
@Schema(description ="Core Person Record V1 update request base")
22
21
sealedclassCorePersonRecordV1UpdateRequestDto {
@@ -27,7 +26,6 @@ sealed class CorePersonRecordV1UpdateRequestDto {
27
26
constvalBIRTHPLACE="BIRTHPLACE"
28
27
constvalCOUNTRY_OF_BIRTH="COUNTRY_OF_BIRTH"
29
28
constvalDATE_OF_BIRTH="DATE_OF_BIRTH"
30
-
constvalNATIONALITY="NATIONALITY"
31
29
}
32
30
}
33
31
@@ -91,23 +89,3 @@ data class CountryOfBirthUpdateDto(
91
89
)
92
90
overrideval fieldName:String=COUNTRY_OF_BIRTH
93
91
}
94
-
95
-
@Schema(description ="Core Person Record V1 nationality update request")
96
-
data classNationalityUpdateDto(
97
-
@Schema(
98
-
description ="The new value for the nationality field",
Copy file name to clipboardexpand all lines: src/main/kotlin/uk/gov/justice/digital/hmpps/personintegrationapi/corepersonrecord/resource/CorePersonRecordV1Resource.kt
Copy file name to clipboardexpand all lines: src/main/kotlin/uk/gov/justice/digital/hmpps/personintegrationapi/corepersonrecord/service/CorePersonRecordService.kt
Copy file name to clipboardexpand all lines: src/test/kotlin/uk/gov/justice/digital/hmpps/personintegrationapi/corepersonrecord/resource/CorePersonRecordV1ResourceIntTest.kt
Copy file name to clipboardexpand all lines: src/test/kotlin/uk/gov/justice/digital/hmpps/personintegrationapi/corepersonrecord/service/CorePersonRecordServiceTest.kt
0 commit comments