1
0

hs-office-coopshares: add non-negative validation

This commit is contained in:
Michael Hoennig
2022-10-20 14:08:19 +02:00
parent 22bca20c49
commit dc0835fa25
6 changed files with 95 additions and 33 deletions

View File

@ -18,7 +18,7 @@ components:
format: uuid
transactionType:
$ref: '#/components/schemas/HsOfficeCoopSharesTransactionType'
sharesCount:
shareCount:
type: integer
valueDate:
type: string
@ -37,7 +37,7 @@ components:
nullable: false
transactionType:
$ref: '#/components/schemas/HsOfficeCoopSharesTransactionType'
sharesCount:
shareCount:
type: integer
valueDate:
type: string
@ -51,7 +51,7 @@ components:
required:
- membershipUuid
- transactionType
- sharesCount
- shareCount
- valueDate
- reference
additionalProperties: false