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.
--------- Co-authored-by: maxsca <130107847+maxsca@users.noreply.github.com>
- Loading branch information
1 parent
115b0e6
commit ca704c8
Showing
75 changed files
with
6,487 additions
and
1,195 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -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" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.