Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gpd-payments-swagger-update #2463

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"title": "PagoPA API Payments",
"description": "Payments",
"termsOfService": "https://www.pagopa.gov.it/",
"version": "0.8.0-1-PAGOPA-1140-sviluppo-gpd-payments-gestione-enti-pluri-intermediati"
"version": "0.12.29-3-sampling"
},
"servers": [
{
Expand Down Expand Up @@ -155,24 +155,25 @@
{
"name": "pageNum",
"in": "query",
"description": "Page number",
"required": true,
"description": "Page number, starts from 0",
"required": false,
"schema": {
"minimum": 0,
"type": "integer",
"format": "int32"
"format": "int32",
"default": 0
}
},
{
"name": "pageSize",
"in": "query",
"description": "Number of elements per page. Default = 50",
"description": "Number of elements per page. Default = 20",
"required": false,
"schema": {
"maximum": 100,
"type": "integer",
"format": "int32",
"default": 50
"default": 20
}
},
{
Expand Down Expand Up @@ -210,6 +211,25 @@
"schema": {
"type": "string"
}
},
{
"name": "segregationCodes",
"in": "query",
"description": "Segregation codes for which broker is authorized",
"required": false,
"schema": {
"pattern": "\\d{2}(,\\d{2})*",
"type": "string"
}
},
{
"name": "debtorOrIuv",
"in": "query",
"description": "Filter start of debtor or IUV",
"required": false,
"schema": {
"type": "string"
}
}
],
"responses": {
Expand All @@ -226,7 +246,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ReceiptsInfo"
"$ref": "#/components/schemas/PaymentsResult"
}
}
}
Expand Down Expand Up @@ -326,6 +346,16 @@
"type": "string"
},
"example": "ABC123"
},
{
"name": "segregationCodes",
"in": "query",
"description": "Segregation codes for which broker is authorized",
"required": false,
"schema": {
"pattern": "\\d{2}(,\\d{2})*",
"type": "string"
}
}
],
"responses": {
Expand Down Expand Up @@ -468,36 +498,25 @@
}
}
},
"ReceiptModelResponse": {
"PaymentsResult": {
"type": "object",
"properties": {
"organizationFiscalCode": {
"type": "string"
},
"iuv": {
"type": "string"
"currentPageNumber": {
"type": "integer",
"format": "int32"
},
"debtor": {
"type": "string"
"length": {
"type": "integer",
"format": "int32"
},
"paymentDateTime": {
"type": "string"
"totalPages": {
"type": "integer",
"format": "int32"
},
"status": {
"type": "string"
}
}
},
"ReceiptsInfo": {
"required": [
"receipts_list"
],
"type": "object",
"properties": {
"receipts_list": {
"results": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ReceiptModelResponse"
"type": "object"
}
}
}
Expand Down
Loading