Skip to content

Commit

Permalink
P4ADEV-1775 added required properties
Browse files Browse the repository at this point in the history
  • Loading branch information
RiccardoGiuliani committed Dec 20, 2024
1 parent 6fa2eb8 commit fc9efdc
Showing 1 changed file with 25 additions and 3 deletions.
28 changes: 25 additions & 3 deletions openapi/p4pa-debt-position.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ paths:
components:
schemas:
DebtPositionDTO:
required:
- debtPositionTypeOrgId
- organizationId
type: object
properties:
debtPositionId:
Expand Down Expand Up @@ -76,6 +79,9 @@ components:
items:
$ref: "#/components/schemas/PaymentOptionDTO"
PaymentOptionDTO:
required:
- installments
- totalAmountCents
type: object
properties:
paymentOptionId:
Expand Down Expand Up @@ -104,6 +110,11 @@ components:
items:
$ref: "#/components/schemas/InstallmentDTO"
InstallmentDTO:
required:
- amountCents
- debtor
- remittanceInformation
- transfers
type: object
properties:
installmentId:
Expand Down Expand Up @@ -145,16 +156,19 @@ components:
type: array
items:
$ref: "#/components/schemas/TransferDTO"
receiptId:
type: integer
format: int64
creationDate:
type: string
format: date-time
updateDate:
type: string
format: date-time
TransferDTO:
required:
- amountCents
- category
- orgFiscalCode
- orgName
- remittanceInformation
type: object
properties:
transferId:
Expand Down Expand Up @@ -190,6 +204,9 @@ components:
receiptId:
type: integer
format: int64
installmentId:
type: integer
format: int64
paymentReceiptId:
type: string
noticeNumber:
Expand Down Expand Up @@ -251,6 +268,11 @@ components:
type: string
format: date-time
PersonDTO:
required:
- email
- fullName
- uniqueIdentifierCode
- uniqueIdentifierType
type: object
properties:
uniqueIdentifierType:
Expand Down

0 comments on commit fc9efdc

Please sign in to comment.