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.
- Loading branch information
1 parent
dee21b1
commit 435dbdb
Showing
6 changed files
with
92 additions
and
89 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,80 +1,88 @@ | ||
{ | ||
"openapi" : "3.0.1", | ||
"info" : { | ||
"description" : "Microservice to expose REST API to contact PagoPA Backoffice", | ||
"termsOfService" : "https://www.pagopa.gov.it/", | ||
"title" : "pagopa-backoffice-external", | ||
"version" : "0.0.1" | ||
"openapi": "3.0.1", | ||
"info": { | ||
"description": "Microservice to expose REST API to contact PagoPA Backoffice", | ||
"termsOfService": "https://www.pagopa.gov.it/", | ||
"title": "pagopa-backoffice-external", | ||
"version": "1.0.0" | ||
}, | ||
"servers" : [ { | ||
"url" : "http://localhost", | ||
"description" : "Generated server url" | ||
} ], | ||
"paths" : { | ||
"/info" : { | ||
"get" : { | ||
"description" : "Return OK if application is started", | ||
"operationId" : "healthCheck", | ||
"responses" : { | ||
"200" : { | ||
"content" : { | ||
"*/*" : { | ||
"schema" : { | ||
"$ref" : "#/components/schemas/AppInfo" | ||
"servers": [ | ||
{ | ||
"url": "http://localhost", | ||
"description": "Generated server url" | ||
} | ||
], | ||
"paths": { | ||
"/info": { | ||
"get": { | ||
"description": "Return OK if application is started", | ||
"operationId": "healthCheck", | ||
"responses": { | ||
"200": { | ||
"content": { | ||
"*/*": { | ||
"schema": { | ||
"$ref": "#/components/schemas/AppInfo" | ||
} | ||
} | ||
}, | ||
"description" : "OK", | ||
"headers" : { | ||
"X-Request-Id" : { | ||
"description" : "This header identifies the call", | ||
"schema" : { | ||
"type" : "string" | ||
"description": "OK", | ||
"headers": { | ||
"X-Request-Id": { | ||
"description": "This header identifies the call", | ||
"schema": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"security" : [ { | ||
"ApiKey" : [ ] | ||
} ], | ||
"summary" : "health check", | ||
"tags" : [ "Home" ] | ||
"security": [ | ||
{ | ||
"ApiKey": [] | ||
} | ||
], | ||
"summary": "health check", | ||
"tags": [ | ||
"Home" | ||
] | ||
}, | ||
"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" | ||
"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" : { | ||
"AppInfo" : { | ||
"type" : "object", | ||
"properties" : { | ||
"environment" : { | ||
"type" : "string" | ||
"components": { | ||
"schemas": { | ||
"AppInfo": { | ||
"type": "object", | ||
"properties": { | ||
"environment": { | ||
"type": "string" | ||
}, | ||
"name" : { | ||
"type" : "string" | ||
"name": { | ||
"type": "string" | ||
}, | ||
"version" : { | ||
"type" : "string" | ||
"version": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
}, | ||
"securitySchemes" : { | ||
"ApiKey" : { | ||
"description" : "The API key to access this function app.", | ||
"in" : "header", | ||
"name" : "Ocp-Apim-Subscription-Key", | ||
"type" : "apiKey" | ||
"securitySchemes": { | ||
"ApiKey": { | ||
"description": "The API key to access this function app.", | ||
"in": "header", | ||
"name": "Ocp-Apim-Subscription-Key", | ||
"type": "apiKey" | ||
} | ||
} | ||
} | ||
} | ||
} |
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