Skip to content

Commit e582326

Browse files
Api spec (#419)
* Fixes * Last one sorrrrryyy
1 parent 732f548 commit e582326

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

openapi.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,13 @@ paths:
9595
schema:
9696
type: object
9797
properties:
98-
prisonerOffenderSearch:
99-
$ref: "#/components/schemas/Person"
100-
probationOffenderSearch:
101-
$ref: "#/components/schemas/Person"
98+
data:
99+
type: object
100+
properties:
101+
prisonerOffenderSearch:
102+
$ref: "#/components/schemas/Person"
103+
probationOffenderSearch:
104+
$ref: "#/components/schemas/Person"
102105
"404":
103106
description: Failed to find a person with the provided HMPPS ID.
104107
content:

0 commit comments

Comments
 (0)