Skip to content

Commit

Permalink
MODTLR-5 edd itemId to schema, make some fields required
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-barannyk committed Jan 18, 2024
1 parent f7f2b40 commit 9a3b8a6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/folio/domain/entity/EcsTlrEntity.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ public class EcsTlrEntity {
private String patronComments;
private String fulfillmentPreference;
private UUID pickupServicePointId;
private UUID itemId;
}
9 changes: 9 additions & 0 deletions src/main/resources/swagger.api/schemas/EcsTlr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,12 @@ EcsTlr:
pickupServicePointId:
description: "The ID of the Service Point where this request can be picked up"
$ref: "uuid.yaml"
itemId:
description: "ID of the item being requested"
$ref: "uuid.yaml"
required:
- instanceId
- requesterId
- requestType
- requestLevel
- fulfillmentPreference

0 comments on commit 9a3b8a6

Please sign in to comment.