Skip to content

Commit

Permalink
Logging and client refactoring (#7)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: maxsca <130107847+maxsca@users.noreply.github.com>
  • Loading branch information
andrea-deri and maxsca authored Apr 5, 2024
1 parent 115b0e6 commit ca704c8
Show file tree
Hide file tree
Showing 75 changed files with 6,487 additions and 1,195 deletions.
567 changes: 567 additions & 0 deletions openapi-client/checkout/payment-requests-api.yaml

Large diffs are not rendered by default.

98 changes: 98 additions & 0 deletions openapi-client/decoupler-caching/openapi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
{
"openapi": "3.0.1",
"info": {
"description": "A service that permits to execute the keys caching for decoupler, needed for RPT disambiguation.",
"termsOfService": "https://www.pagopa.gov.it/",
"title": "WISP Converter - Decoupler Caching",
"version": "0.1.0"
},
"servers": [
{
"url": "https://{host}{basePath}",
"description": "Generated server url"
}
],
"paths": {
"/save-mapping": {
"post": {
"operationId": "saveMapping",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/DecouplerCachingKeys"
}
}
},
"required": true
},
"responses": {
"201": {
"description": "Created",
"headers": {
"X-Request-Id": {
"description": "This header identifies the call",
"schema": {
"type": "string"
}
}
}
},
"401": {
"description": "Unauthorized",
"headers": {
"X-Request-Id": {
"description": "This header identifies the call",
"schema": {
"type": "string"
}
}
}
}
},
"security": [
{
"ApiKey": []
}
],
"summary": "Save payment's NAV key mapping"
},
"parameters": [
{
"description": "This header identifies the call, if not passed it is self-generated. This ID is returned in the response.",
"in": "header",
"name": "X-Request-Id",
"schema": {
"type": "string"
}
}
]
}
},
"components": {
"schemas": {
"DecouplerCachingKeys": {
"required": [
"keys"
],
"type": "object",
"properties": {
"keys": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
},
"securitySchemes": {
"ApiKey": {
"description": "The API key to access this function app.",
"in": "header",
"name": "Ocp-Apim-Subscription-Key",
"type": "apiKey"
}
}
}
}
Loading

0 comments on commit ca704c8

Please sign in to comment.