generated from pagopa/pagopa-quarkus-template
-
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.
Merge branch 'main' into PPANTT-73-performance-tests
- Loading branch information
Showing
6 changed files
with
286 additions
and
142 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,187 +1,187 @@ | ||
{ | ||
"openapi": "3.0.3", | ||
"info": { | ||
"title": "PagoPa Payment Options (TEST)", | ||
"description": "PagoPa Payment Options description", | ||
"termsOfService": "https://www.pagopa.gov.it/", | ||
"version": "0.4.2" | ||
"openapi" : "3.0.3", | ||
"info" : { | ||
"title" : "PagoPa Payment Options (TEST)", | ||
"description" : "PagoPa Payment Options service \n ### APP ERROR CODES ### \n\n\n <details><summary>Details</summary>\n **NAME** | **HTTP STATUS CODE** | **DESCRIPTION** \n- | - | - \n **ODP-001** | *Bad Request* | ODP-SINTASSI. Errore riportato in caso di errore di sintassi nel contenuto della richiesta verso ODP\n **ODP-002** | *Not Found* | ODP_PSP_SCONOSCIUTO. Errore riportato in caso non sia presente fra i dati ottenuti da config-cache un psp coincidente con l’id fornito in input\n **ODP-003** | *Bad Request* | ODP_PSP_DISABILITATO. Errore riportato in caso il psp coincidente con l’id fornito in input risulti disabilitato\n **ODP-004** | *Not Found* | ODP_INTERMEDIARIO_PSP_SCONOSCIUTO. Errore riportato in caso il broker psp coincidente con i dati forniti in input non sia presente nei dati ottenuti da config-cache\n **ODP-005** | *Bad Request* | ODP_INTERMEDIARIO_PSP_DISABILITATO. Errore riportato in caso il broker psp coincidente con l’id fornito in input risulti disabilitato\n **ODP-006** | *Unauthorized* | ODP_AUTENTICAZIONE. Errore di autenticazione rispetto ai dati forniti\n **ODP-007** | *Forbidden* | ODP_AUTORIZZAZIONE. Errore di autorizzazione rispetto ai dati forniti\n **ODP-008** | *Bad Request* | ODP_SEMANTICA. Errore fornito in caso della presenza di casi d’invalidità semantica nei dati del flusso di verifica\n **ODP-009** | *Not Found* | ODP_STAZIONE_INT_PA_SCONOSCIUTA. Errore forninca in caso di assenza associazione stazione e PA\n **ODP-0099** | *Bad Request* | ODP_STAZIONE_INT_PA_DISABILITATA. Errore riportato in caso la stazione coincidente con l’id fornito in input risulti disabilitato\n **ODP-010** | *Service Unavailable* | ODP_STAZIONE_INT_PA_IRRAGGIUNGIBILE. Errore fornito in caso d’irraggiungibilità della stazione\n **ODP-011** | *Bad Request* | ODP_STAZIONE_INT_PA_SERVIZIO_NON_ATTIVO. Errore fornito in caso di servizio non attivo\n **ODP-012** | *Internal Server Error* | ODP_STAZIONE_INT_PA_TIMEOUT. Errore fornito in caso di timeout della stazione\n **ODP-013** | *Internal Server Error* | ODP_ERRORE_EMESSO_DA_PAA. Errore fornito in caso di errori da PAA\n **ODP-014** | *Bad Request* | ODP_STAZIONE_INT_PA_ERRORE_RESPONSE. Errore fornito in caso di risposta KO dalla stazione\n **ODP-015** | *Bad Request* | ODP_PSP_NAV_NOT_NMU. Errore fornito nel caso in cui il nav non sia valido per il flusso OdP\n **ODP-016** | *Bad Request* | ODP_SYSTEM_ERROR Codice d’errore generico\n **ODP-017** | *Internal Server Error* | ODP_SYSTEM_ERROR. Codice d’errore generico\n **ODP-018** | *Bad Request* | ODP_INTERMEDIARIO_PA_DISABILITATO\n **ODP-019** | *Not Found* | ODP_INTERMEDIARIO_PA_SCONOSCIUTO\n **ODP-020** | *Bad Request* | ODP_DOMINIO_DISABILITATO\n **ODP-021** | *Not Found* | ODP_DOMINIO_SCONOSCIUTO \n\n </details> \n", | ||
"termsOfService" : "https://www.pagopa.gov.it/", | ||
"version" : "0.4.2" | ||
}, | ||
"servers": [ | ||
{ | ||
"url": "${host}/quarkus-template/api/v1 - APIM" | ||
"servers" : [ { | ||
"url" : "http://localhost:8080", | ||
"description" : "Localhost base URL" | ||
}, { | ||
"url" : "https://{host}/payment-options/service/v1", | ||
"description" : "Base URL", | ||
"variables" : { | ||
"host" : { | ||
"default" : "api.dev.platform.pagopa.it", | ||
"enum" : [ "api.dev.platform.pagopa.it", "api.uat.platform.pagopa.it", "api.platform.pagopa.it" ] | ||
} | ||
} | ||
], | ||
"paths": { | ||
"/info": { | ||
"get": { | ||
"tags": [ | ||
"Generic" | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "OK", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/AppInfo" | ||
} ], | ||
"paths" : { | ||
"/info" : { | ||
"get" : { | ||
"tags" : [ "Generic" ], | ||
"responses" : { | ||
"200" : { | ||
"description" : "OK", | ||
"content" : { | ||
"application/json" : { | ||
"schema" : { | ||
"$ref" : "#/components/schemas/AppInfo" | ||
} | ||
} | ||
} | ||
}, | ||
"400": { | ||
"description": "Bad Request", | ||
"content": { | ||
"application/json": {} | ||
"400" : { | ||
"description" : "Bad Request", | ||
"content" : { | ||
"application/json" : { } | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"/payment-options/organizations/{fiscal-code}/notices/{notice-number}": { | ||
"get": { | ||
"tags": [ | ||
"Payment Options Resource" | ||
], | ||
"summary": "Get payment options", | ||
"description": "Retrieve the payment options related to the provided input", | ||
"operationId": "getPaymentOptions", | ||
"parameters": [ | ||
{ | ||
"name": "fiscal-code", | ||
"in": "path", | ||
"required": true, | ||
"schema": { | ||
"type": "string" | ||
} | ||
}, | ||
{ | ||
"name": "notice-number", | ||
"in": "path", | ||
"required": true, | ||
"schema": { | ||
"type": "string" | ||
} | ||
}, | ||
{ | ||
"name": "idPsp", | ||
"in": "query", | ||
"schema": { | ||
"type": "string" | ||
} | ||
}, | ||
{ | ||
"name": "X-Session-Id", | ||
"in": "header", | ||
"schema": { | ||
"type": "string" | ||
} | ||
"/payment-options/organizations/{fiscal-code}/notices/{notice-number}" : { | ||
"get" : { | ||
"tags" : [ "Payment Options Resource" ], | ||
"summary" : "Get payment options", | ||
"description" : "Retrieve the payment options related to the provided input", | ||
"operationId" : "getPaymentOptions", | ||
"parameters" : [ { | ||
"name" : "fiscal-code", | ||
"in" : "path", | ||
"required" : true, | ||
"schema" : { | ||
"type" : "string" | ||
} | ||
}, { | ||
"name" : "notice-number", | ||
"in" : "path", | ||
"required" : true, | ||
"schema" : { | ||
"type" : "string" | ||
} | ||
}, { | ||
"name" : "idPsp", | ||
"in" : "query", | ||
"schema" : { | ||
"type" : "string" | ||
} | ||
}, { | ||
"name" : "X-Session-Id", | ||
"in" : "header", | ||
"schema" : { | ||
"type" : "string" | ||
} | ||
], | ||
"responses": { | ||
"500": { | ||
"$ref": "#/components/responses/ErrorResponse500" | ||
} ], | ||
"responses" : { | ||
"500" : { | ||
"$ref" : "#/components/responses/ErrorResponse500" | ||
}, | ||
"400": { | ||
"$ref": "#/components/responses/ErrorResponse400" | ||
"400" : { | ||
"$ref" : "#/components/responses/ErrorResponse400" | ||
}, | ||
"404": { | ||
"$ref": "#/components/responses/ErrorResponse404" | ||
"404" : { | ||
"$ref" : "#/components/responses/ErrorResponse404" | ||
}, | ||
"200": { | ||
"description": "Success", | ||
"content": { | ||
"application/json": {} | ||
"200" : { | ||
"description" : "Success", | ||
"content" : { | ||
"application/json" : { } | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"components": { | ||
"schemas": { | ||
"AppInfo": { | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"type": "string" | ||
"components" : { | ||
"schemas" : { | ||
"AppInfo" : { | ||
"type" : "object", | ||
"properties" : { | ||
"name" : { | ||
"type" : "string" | ||
}, | ||
"version": { | ||
"type": "string" | ||
"version" : { | ||
"type" : "string" | ||
}, | ||
"environment": { | ||
"type": "string" | ||
"environment" : { | ||
"type" : "string" | ||
} | ||
} | ||
}, | ||
"ErrorResponse": { | ||
"type": "object", | ||
"properties": { | ||
"httpStatusCode": { | ||
"format": "int32", | ||
"type": "integer", | ||
"example": 500 | ||
"ErrorResponse" : { | ||
"type" : "object", | ||
"properties" : { | ||
"httpStatusCode" : { | ||
"format" : "int32", | ||
"type" : "integer", | ||
"example" : 500 | ||
}, | ||
"httpStatusDescription": { | ||
"type": "string", | ||
"example": "Internal Server Error" | ||
"httpStatusDescription" : { | ||
"type" : "string", | ||
"example" : "Internal Server Error" | ||
}, | ||
"errorMessage": { | ||
"type": "string", | ||
"example": "An unexpected error has occurred. Please contact support." | ||
"errorMessage" : { | ||
"type" : "string", | ||
"example" : "An unexpected error has occurred. Please contact support." | ||
}, | ||
"appErrorCode": { | ||
"type": "string", | ||
"example": "ODP-<ERR_ID>" | ||
"appErrorCode" : { | ||
"type" : "string", | ||
"example" : "ODP-<ERR_ID>" | ||
}, | ||
"timestamp": { | ||
"format": "int64", | ||
"type": "integer", | ||
"example": 1724425035 | ||
"timestamp" : { | ||
"format" : "int64", | ||
"type" : "integer", | ||
"example" : 1724425035 | ||
}, | ||
"dateTime": { | ||
"type": "string", | ||
"example": "2024-08-23T14:57:15.635528" | ||
"dateTime" : { | ||
"type" : "string", | ||
"example" : "2024-08-23T14:57:15.635528" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"ErrorResponse400": { | ||
"description": "Default app exception for status 400", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/ErrorResponse" | ||
"responses" : { | ||
"ErrorResponse400" : { | ||
"description" : "Default app exception for status 400", | ||
"content" : { | ||
"application/json" : { | ||
"schema" : { | ||
"$ref" : "#/components/schemas/ErrorResponse" | ||
} | ||
} | ||
} | ||
}, | ||
"ErrorResponse404": { | ||
"description": "Default app exception for status 404", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/ErrorResponse" | ||
"ErrorResponse404" : { | ||
"description" : "Default app exception for status 404", | ||
"content" : { | ||
"application/json" : { | ||
"schema" : { | ||
"$ref" : "#/components/schemas/ErrorResponse" | ||
} | ||
} | ||
} | ||
}, | ||
"ErrorResponse500": { | ||
"description": "Internal Server Error", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/ErrorResponse" | ||
"ErrorResponse500" : { | ||
"description" : "Internal Server Error", | ||
"content" : { | ||
"application/json" : { | ||
"schema" : { | ||
"$ref" : "#/components/schemas/ErrorResponse" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"securitySchemes": { | ||
"ApiKey": { | ||
"type": "apiKey", | ||
"name": "Ocp-Apim-Subscription-Key" | ||
"securitySchemes" : { | ||
"ApiKey" : { | ||
"type" : "apiKey", | ||
"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
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
Oops, something went wrong.