Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/main/resources/openapi/dcs-caseadmin.openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,13 @@
- "DOCUMENT_CONTAINS_VIRUS"
- "DOCUMENT_NOT_UPLOADED"
- "CASE_DELETED"
- "CASE_LINK_NOT_FOUND"
- "DEFENDANT_LINK_NOT_FOUND"
- "DEFENDANT_DELETED"
- "DEFENCE_NOT_FOUND"
- "DEFENCE_ALREADY_EXISTS"
- "DEFENCE_REPRESENTATION_ERROR"
- "MATERIAL_NOT_ACCEPTED"
description: "Error code if the request failed"
errorMessage:
type: string
Expand Down Expand Up @@ -222,7 +229,7 @@
description: Sending case and defendant information
operationId: linkCaseAndDefendant
tags:
- Case and defendant details

Check warning on line 232 in src/main/resources/openapi/dcs-caseadmin.openapi.yml

View workflow job for this annotation

GitHub Actions / spectral-lint

operation-tag-defined Operation tags must be defined in global tags.
parameters:
- in: path
name: caseUrn
Expand Down Expand Up @@ -331,7 +338,7 @@
description: Sending updated defendant information
operationId: updateDefendantDetails
tags:
- Case and defendant details

Check warning on line 341 in src/main/resources/openapi/dcs-caseadmin.openapi.yml

View workflow job for this annotation

GitHub Actions / spectral-lint

operation-tag-defined Operation tags must be defined in global tags.
parameters:
- in: path
name: caseUrn
Expand Down Expand Up @@ -424,7 +431,7 @@
description: Adding defence representation
operationId: updateDefendantRepresentation
tags:
- Defence details for defendant

Check warning on line 434 in src/main/resources/openapi/dcs-caseadmin.openapi.yml

View workflow job for this annotation

GitHub Actions / spectral-lint

operation-tag-defined Operation tags must be defined in global tags.
parameters:
- in: path
name: caseUrn
Expand Down Expand Up @@ -521,7 +528,7 @@
description: Upload a document and associate it with an existing case and (optionally) defendant
operationId: addCaseMaterial
tags:
- Submit material

Check warning on line 531 in src/main/resources/openapi/dcs-caseadmin.openapi.yml

View workflow job for this annotation

GitHub Actions / spectral-lint

operation-tag-defined Operation tags must be defined in global tags.
parameters:
- in: path
name: caseUrn
Expand Down
Loading