Skip to content

Commit

Permalink
P4ADEV-1775 modified path, tag, paymentOptionId and receiptId in Inst…
Browse files Browse the repository at this point in the history
…allment, ordering
  • Loading branch information
RiccardoGiuliani committed Dec 19, 2024
1 parent 9719e4c commit 6fa2eb8
Showing 1 changed file with 64 additions and 62 deletions.
126 changes: 64 additions & 62 deletions openapi/p4pa-debt-position.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ servers:
- url: http://localhost:8080
description: Generated server url
paths:
/api/debt-positions:
/debt-positions:
post:
tags:
- debt-position-controller
- debt-position
operationId: createDebtPosition
requestBody:
content:
Expand Down Expand Up @@ -75,14 +75,43 @@ components:
type: array
items:
$ref: "#/components/schemas/PaymentOptionDTO"
PaymentOptionDTO:
type: object
properties:
paymentOptionId:
type: integer
format: int64
totalAmountCents:
type: integer
format: int64
status:
type: string
multiDebtor:
type: boolean
dueDate:
type: string
format: date-time
description:
type: string
paymentOptionType:
type: string
enum:
- SINGLE_INSTALLMENT
- INSTALMENTS
- DOWN_PAYMENT
installments:
type: array
items:
$ref: "#/components/schemas/InstallmentDTO"
InstallmentDTO:
type: object
properties:
installmentId:
type: integer
format: int64
paymentOptionId:
$ref: "#/components/schemas/PaymentOptionDTO"
type: integer
format: int64
status:
type: string
iud:
Expand Down Expand Up @@ -116,65 +145,45 @@ components:
type: array
items:
$ref: "#/components/schemas/TransferDTO"
receipt:
$ref: "#/components/schemas/ReceiptDTO"
receiptId:
type: integer
format: int64
creationDate:
type: string
format: date-time
updateDate:
type: string
format: date-time
PaymentOptionDTO:
TransferDTO:
type: object
properties:
paymentOptionId:
type: integer
format: int64
totalAmountCents:
transferId:
type: integer
format: int64
status:
type: string
multiDebtor:
type: boolean
dueDate:
type: string
format: date-time
description:
type: string
paymentOptionType:
type: string
enum:
- SINGLE_INSTALLMENT
- INSTALMENTS
- DOWN_PAYMENT
installments:
type: array
items:
$ref: "#/components/schemas/InstallmentDTO"
PersonDTO:
type: object
properties:
uniqueIdentifierType:
type: string
uniqueIdentifierCode:
orgFiscalCode:
type: string
fullName:
orgName:
type: string
address:
amountCents:
type: integer
format: int64
remittanceInformation:
type: string
civic:
stampType:
type: string
postalCode:
stampHashDocument:
type: string
location:
stampProvincialResidence:
type: string
province:
iban:
type: string
nation:
postalIban:
type: string
email:
category:
type: string
transferIndex:
type: integer
format: int32
ReceiptDTO:
type: object
properties:
Expand Down Expand Up @@ -241,33 +250,26 @@ components:
updateDate:
type: string
format: date-time
TransferDTO:
PersonDTO:
type: object
properties:
transferId:
type: integer
format: int64
orgFiscalCode:
uniqueIdentifierType:
type: string
orgName:
uniqueIdentifierCode:
type: string
amountCents:
type: integer
format: int64
remittanceInformation:
fullName:
type: string
stampType:
address:
type: string
stampHashDocument:
civic:
type: string
stampProvincialResidence:
postalCode:
type: string
iban:
location:
type: string
postalIban:
province:
type: string
category:
nation:
type: string
email:
type: string
transferIndex:
type: integer
format: int32

0 comments on commit 6fa2eb8

Please sign in to comment.