generated from pagopa/template-java-spring-microservice
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump to version 1.0.2-5-fix-deploy [skip ci]
- Loading branch information
1 parent
08a8d34
commit dea29c0
Showing
6 changed files
with
145 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,170 +1,189 @@ | ||
{ | ||
"openapi" : "3.0.1", | ||
"info" : { | ||
"title" : "bizpmingestion", | ||
"description" : "Microservice for retrieving payment receipts from the PM.", | ||
"termsOfService" : "https://www.pagopa.gov.it/", | ||
"version" : "1.0.2-4-fix-deploy" | ||
"openapi": "3.0.1", | ||
"info": { | ||
"title": "bizpmingestion", | ||
"description": "Microservice for retrieving payment receipts from the PM.", | ||
"termsOfService": "https://www.pagopa.gov.it/", | ||
"version": "1.0.2-5-fix-deploy" | ||
}, | ||
"servers" : [ { | ||
"url" : "http://localhost:8080" | ||
}, { | ||
"url" : "https://{host}{basePath}", | ||
"variables" : { | ||
"host" : { | ||
"default" : "api.dev.platform.pagopa.it", | ||
"enum" : [ "api.dev.platform.pagopa.it", "api.uat.platform.pagopa.it", "api.platform.pagopa.it" ] | ||
}, | ||
"basePath" : { | ||
"default" : "/pm-ingestion/v1", | ||
"enum" : [ "/pm-ingestion/v1" ] | ||
"servers": [ | ||
{ | ||
"url": "http://localhost:8080" | ||
}, | ||
{ | ||
"url": "https://{host}{basePath}", | ||
"variables": { | ||
"host": { | ||
"default": "api.dev.platform.pagopa.it", | ||
"enum": [ | ||
"api.dev.platform.pagopa.it", | ||
"api.uat.platform.pagopa.it", | ||
"api.platform.pagopa.it" | ||
] | ||
}, | ||
"basePath": { | ||
"default": "/pm-ingestion/v1", | ||
"enum": [ | ||
"/pm-ingestion/v1" | ||
] | ||
} | ||
} | ||
} | ||
} ], | ||
"paths" : { | ||
"/extraction/data" : { | ||
"post" : { | ||
"tags" : [ "PM extraction data REST APIs" ], | ||
"summary" : "Request for data extraction from the PM.", | ||
"operationId" : "pmDataExtraction", | ||
"parameters" : [ { | ||
"name" : "pmExtractionType", | ||
"in" : "query", | ||
"required" : true, | ||
"schema" : { | ||
"type" : "string", | ||
"enum" : [ "CARD", "BPAY", "PAYPAL" ] | ||
], | ||
"paths": { | ||
"/extraction/data": { | ||
"post": { | ||
"tags": [ | ||
"PM extraction data REST APIs" | ||
], | ||
"summary": "Request for data extraction from the PM.", | ||
"operationId": "pmDataExtraction", | ||
"parameters": [ | ||
{ | ||
"name": "pmExtractionType", | ||
"in": "query", | ||
"required": true, | ||
"schema": { | ||
"type": "string", | ||
"enum": [ | ||
"CARD", | ||
"BPAY", | ||
"PAYPAL" | ||
] | ||
} | ||
} | ||
} ], | ||
"requestBody" : { | ||
"content" : { | ||
"application/json" : { | ||
"schema" : { | ||
"$ref" : "#/components/schemas/DataExtractionOptionsModel" | ||
], | ||
"requestBody": { | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/DataExtractionOptionsModel" | ||
} | ||
} | ||
}, | ||
"required" : true | ||
"required": true | ||
}, | ||
"responses" : { | ||
"409" : { | ||
"description" : "Conflict.", | ||
"content" : { | ||
"application/json" : { | ||
"schema" : { | ||
"$ref" : "#/components/schemas/ProblemJson" | ||
"responses": { | ||
"409": { | ||
"description": "Conflict.", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/ProblemJson" | ||
} | ||
} | ||
} | ||
}, | ||
"422" : { | ||
"description" : "Unprocessable entity.", | ||
"content" : { | ||
"application/json" : { | ||
"schema" : { | ||
"$ref" : "#/components/schemas/ProblemJson" | ||
"422": { | ||
"description": "Unprocessable entity.", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/ProblemJson" | ||
} | ||
} | ||
} | ||
}, | ||
"404" : { | ||
"description" : "Not found.", | ||
"content" : { | ||
"application/json" : { | ||
"schema" : { | ||
"$ref" : "#/components/schemas/ProblemJson" | ||
"404": { | ||
"description": "Not found.", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/ProblemJson" | ||
} | ||
} | ||
} | ||
}, | ||
"500" : { | ||
"description" : "Service unavailable.", | ||
"content" : { | ||
"application/json" : { | ||
"schema" : { | ||
"$ref" : "#/components/schemas/ProblemJson" | ||
"500": { | ||
"description": "Service unavailable.", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/ProblemJson" | ||
} | ||
} | ||
} | ||
}, | ||
"200" : { | ||
"description" : "Request paid." | ||
"200": { | ||
"description": "Request paid." | ||
}, | ||
"400" : { | ||
"description" : "Malformed request.", | ||
"content" : { | ||
"application/json" : { | ||
"schema" : { | ||
"$ref" : "#/components/schemas/ProblemJson" | ||
"400": { | ||
"description": "Malformed request.", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/ProblemJson" | ||
} | ||
} | ||
} | ||
}, | ||
"401" : { | ||
"description" : "Wrong or missing function key." | ||
"401": { | ||
"description": "Wrong or missing function key." | ||
} | ||
}, | ||
"security" : [ { | ||
"ApiKey" : [ ] | ||
} ] | ||
"security": [ | ||
{ | ||
"ApiKey": [] | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"components" : { | ||
"schemas" : { | ||
"DataExtractionOptionsModel" : { | ||
"type" : "object", | ||
"properties" : { | ||
"taxCodes" : { | ||
"type" : "array", | ||
"items" : { | ||
"type" : "string" | ||
"components": { | ||
"schemas": { | ||
"DataExtractionOptionsModel": { | ||
"type": "object", | ||
"properties": { | ||
"taxCodes": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"creationDateFrom" : { | ||
"pattern" : "^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$\n", | ||
"type" : "string", | ||
"description" : "if provided use the format yyyy-MM-dd", | ||
"format" : "date" | ||
"creationDateFrom": { | ||
"pattern": "^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$\n", | ||
"type": "string", | ||
"description": "if provided use the format yyyy-MM-dd", | ||
"format": "date" | ||
}, | ||
"creationDateTo" : { | ||
"pattern" : "^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$\n", | ||
"type" : "string", | ||
"description" : "if provided use the format yyyy-MM-dd", | ||
"format" : "date" | ||
"creationDateTo": { | ||
"pattern": "^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$\n", | ||
"type": "string", | ||
"description": "if provided use the format yyyy-MM-dd", | ||
"format": "date" | ||
} | ||
} | ||
}, | ||
"ProblemJson" : { | ||
"type" : "object", | ||
"properties" : { | ||
"title" : { | ||
"type" : "string", | ||
"description" : "A short, summary of the problem type. Written in english and readable for engineers (usually not suited for non technical stakeholders and not localized); example: Service Unavailable" | ||
"ProblemJson": { | ||
"type": "object", | ||
"properties": { | ||
"title": { | ||
"type": "string", | ||
"description": "A short, summary of the problem type. Written in english and readable for engineers (usually not suited for non technical stakeholders and not localized); example: Service Unavailable" | ||
}, | ||
"status" : { | ||
"maximum" : 600, | ||
"minimum" : 100, | ||
"type" : "integer", | ||
"description" : "The HTTP status code generated by the origin server for this occurrence of the problem.", | ||
"format" : "int32", | ||
"example" : 200 | ||
"status": { | ||
"maximum": 600, | ||
"minimum": 100, | ||
"type": "integer", | ||
"description": "The HTTP status code generated by the origin server for this occurrence of the problem.", | ||
"format": "int32", | ||
"example": 200 | ||
}, | ||
"detail" : { | ||
"type" : "string", | ||
"description" : "A human readable explanation specific to this occurrence of the problem.", | ||
"example" : "There was an error processing the request" | ||
"detail": { | ||
"type": "string", | ||
"description": "A human readable explanation specific to this occurrence of the problem.", | ||
"example": "There was an error processing the request" | ||
} | ||
} | ||
} | ||
}, | ||
"securitySchemes" : { | ||
"ApiKey" : { | ||
"type" : "apiKey", | ||
"description" : "The API key to access this function app.", | ||
"name" : "Ocp-Apim-Subscription-Key", | ||
"in" : "header" | ||
"securitySchemes": { | ||
"ApiKey": { | ||
"type": "apiKey", | ||
"description": "The API key to access this function app.", | ||
"name": "Ocp-Apim-Subscription-Key", | ||
"in": "header" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters