generated from pagopa/template-java-spring-microservice
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from pagopa/flag_travaso
Flag travaso
- Loading branch information
Showing
8 changed files
with
2,979 additions
and
3,696 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,126 +1,111 @@ | ||
{ | ||
"openapi": "3.0.1", | ||
"info": { | ||
"title": "API-Config Cacher", | ||
"description": "Generate cache for regarding Nodo dei Pagamenti configuration", | ||
"termsOfService": "https://www.pagopa.gov.it/", | ||
"version": "0.8.1" | ||
"openapi" : "3.0.1", | ||
"info" : { | ||
"title" : "API-Config Cacher", | ||
"description" : "Generate cache for regarding Nodo dei Pagamenti configuration", | ||
"termsOfService" : "https://www.pagopa.gov.it/", | ||
"version" : "0.8.1" | ||
}, | ||
"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": "api-config-cache/o/v1", | ||
"enum": [ | ||
"api-config-cache/o/v1", | ||
"api-config-cache/p/v1", | ||
"api-config-cache/odev/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" : "api-config-cache/o/v1", | ||
"enum" : [ "api-config-cache/o/v1", "api-config-cache/p/v1", "api-config-cache/odev/v1" ] | ||
} | ||
} | ||
], | ||
"paths": { | ||
"/stakeholders/verifier/cache/schemas/v1": { | ||
"get": { | ||
"tags": [ | ||
"VerifierCache" | ||
], | ||
"summary": "Get Creditor Institution list with Station v2", | ||
"operationId": "cache", | ||
"responses": { | ||
"401": { | ||
"description": "Unauthorized" | ||
}, | ||
"403": { | ||
"description": "Forbidden" | ||
}, | ||
"200": { | ||
"description": "OK", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"type": "string" | ||
} ], | ||
"paths" : { | ||
"/stakeholders/verifier/cache/schemas/v1" : { | ||
"get" : { | ||
"tags" : [ "VerifierCache" ], | ||
"summary" : "Get Creditor Institution list with Station v2", | ||
"operationId" : "cache", | ||
"responses" : { | ||
"200" : { | ||
"description" : "OK", | ||
"content" : { | ||
"application/json" : { | ||
"schema" : { | ||
"type" : "string" | ||
} | ||
} | ||
} | ||
}, | ||
"429": { | ||
"description": "Too many requests" | ||
"403" : { | ||
"description" : "Forbidden" | ||
}, | ||
"500": { | ||
"description": "Service unavailable", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/ProblemJson" | ||
"400" : { | ||
"description" : "Bad Request", | ||
"content" : { | ||
"application/json" : { | ||
"schema" : { | ||
"$ref" : "#/components/schemas/ProblemJson" | ||
} | ||
} | ||
} | ||
}, | ||
"400": { | ||
"description": "Bad Request", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/ProblemJson" | ||
"429" : { | ||
"description" : "Too many requests" | ||
}, | ||
"401" : { | ||
"description" : "Unauthorized" | ||
}, | ||
"500" : { | ||
"description" : "Service unavailable", | ||
"content" : { | ||
"application/json" : { | ||
"schema" : { | ||
"$ref" : "#/components/schemas/ProblemJson" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"security": [ | ||
{ | ||
"ApiKey": [] | ||
} | ||
] | ||
"security" : [ { | ||
"ApiKey" : [ ] | ||
} ] | ||
} | ||
} | ||
}, | ||
"components": { | ||
"schemas": { | ||
"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" | ||
"components" : { | ||
"schemas" : { | ||
"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
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