Skip to content

Commit 4521db3

Browse files
author
Bingjie Liu
committed
Update open api doc for person endpoint
1 parent 7c50381 commit 4521db3

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

openapi.yml

-5
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,6 @@ paths:
9696
type: object
9797
properties:
9898
data:
99-
type: object
100-
properties:
101-
prisonerOffenderSearch:
102-
$ref: "#/components/schemas/Person"
103-
probationOffenderSearch:
10499
$ref: "#/components/schemas/Person"
105100
"404":
106101
description: Failed to find a person with the provided HMPPS ID.

src/main/resources/application-dev.yml

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ authorisation:
4040
- "/v1/persons/.*/adjudications"
4141
- "/v1/persons/.*/licences/conditions"
4242
- "/v1/persons/.*/case-notes"
43+
- "/v1/persons/.*/protected-characteristics"
4344
ctrlo:
4445
- "/v1/epf/person-details/.*/.*"
4546
kubernetes-health-check-client:

0 commit comments

Comments
 (0)