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
Showing
16 changed files
with
298 additions
and
151 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 +1,141 @@ | ||
{} | ||
{ | ||
"openapi" : "3.0.1", | ||
"info" : { | ||
"description" : "A service that permits to handle nodoInviaRPT and nodoInviaCarrelloRPT request from WISP, interfacing them with GPD system", | ||
"termsOfService" : "https://www.pagopa.gov.it/", | ||
"title" : "wisp-converter", | ||
"version" : "0.0.0" | ||
}, | ||
"servers" : [ { | ||
"url" : "http://localhost", | ||
"description" : "Generated server url" | ||
} ], | ||
"paths" : { | ||
"/info" : { | ||
"get" : { | ||
"operationId" : "healthCheck", | ||
"responses" : { | ||
"200" : { | ||
"content" : { | ||
"application/json" : { | ||
"schema" : { | ||
"$ref" : "#/components/schemas/AppInfo" | ||
} | ||
} | ||
}, | ||
"description" : "OK.", | ||
"headers" : { | ||
"X-Request-Id" : { | ||
"description" : "This header identifies the call", | ||
"schema" : { | ||
"type" : "string" | ||
} | ||
} | ||
} | ||
}, | ||
"401" : { | ||
"description" : "Wrong or missing function key.", | ||
"headers" : { | ||
"X-Request-Id" : { | ||
"description" : "This header identifies the call", | ||
"schema" : { | ||
"type" : "string" | ||
} | ||
} | ||
} | ||
}, | ||
"403" : { | ||
"description" : "Forbidden.", | ||
"headers" : { | ||
"X-Request-Id" : { | ||
"description" : "This header identifies the call", | ||
"schema" : { | ||
"type" : "string" | ||
} | ||
} | ||
} | ||
}, | ||
"500" : { | ||
"content" : { | ||
"application/json" : { | ||
"schema" : { | ||
"$ref" : "#/components/schemas/ProblemJson" | ||
} | ||
} | ||
}, | ||
"description" : "Service unavailable.", | ||
"headers" : { | ||
"X-Request-Id" : { | ||
"description" : "This header identifies the call", | ||
"schema" : { | ||
"type" : "string" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"security" : [ { | ||
"ApiKey" : [ ] | ||
} ], | ||
"summary" : "Return OK if application is started", | ||
"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" | ||
} | ||
} ] | ||
} | ||
}, | ||
"components" : { | ||
"schemas" : { | ||
"AppInfo" : { | ||
"type" : "object", | ||
"properties" : { | ||
"environment" : { | ||
"type" : "string" | ||
}, | ||
"name" : { | ||
"type" : "string" | ||
}, | ||
"version" : { | ||
"type" : "string" | ||
} | ||
} | ||
}, | ||
"ProblemJson" : { | ||
"type" : "object", | ||
"properties" : { | ||
"detail" : { | ||
"type" : "string", | ||
"description" : "A human readable explanation specific to this occurrence of the problem.", | ||
"example" : "There was an error processing the request" | ||
}, | ||
"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 | ||
}, | ||
"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" | ||
} | ||
} | ||
} | ||
}, | ||
"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
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.