File tree Expand file tree Collapse file tree 1 file changed +34
-15
lines changed
infra/resources/psn/prod/apim/api/ioweb Expand file tree Collapse file tree 1 file changed +34
-15
lines changed Original file line number Diff line number Diff line change 22 "openapi" : " 3.0.3" ,
33 "info" : {
44 "title" : " IO Wallet - IO Web API" ,
5- "version" : " 1.0.0 "
5+ "version" : " v1 "
66 },
7- "security" : [
8- {
9- "BearerAuth" : []
10- }
11- ],
7+ "servers" : [{
8+ "url" : " https://apim.internal.wallet.io.pagopa.it/api/wallet/ioweb/v1"
9+ }],
1210 "paths" : {
1311 "/wallet-instances/current/status" : {
1412 "get" : {
1513 "summary" : " Retrieve the current Wallet Instance status" ,
1614 "operationId" : " getCurrentWalletInstanceStatus" ,
15+ "parameters" : [
16+ {
17+ "in" : " header" ,
18+ "name" : " fiscal-code" ,
19+ "required" : true ,
20+ "schema" : {
21+ "$ref" : " #/components/schemas/FiscalCode"
22+ }
23+ }
24+ ],
1725 "responses" : {
1826 "200" : {
1927 "description" : " Wallet Instance status successfully retrieved" ,
129137 }
130138 },
131139 "components" : {
132- "securitySchemes" : {
133- "BearerAuth" : {
134- "type" : " http" ,
135- "scheme" : " bearer" ,
136- "bearerFormat" : " JWT"
137- }
138- },
139140 "responses" : {
140141 "Forbidden" : {
141142 "description" : " The server understands the request but refuses to authorize it" ,
210211 },
211212 "schemas" : {
212213 "SetWalletInstanceStatusData" : {
213- "type" : " string" ,
214- "enum" : [" REVOKED" ]
214+ "type" :" object" ,
215+ "properties" : {
216+ "status" :{
217+ "type" :" string" ,
218+ "enum" :[
219+ " REVOKED"
220+ ]
221+ },
222+ "fiscal_code" :{
223+ "$ref" :" #/components/schemas/FiscalCode"
224+ }
225+ },
226+ "required" : [" status" , " fiscal_code" ]
215227 },
216228 "WalletData" : {
217229 "description" : " Describes the status of the wallet." ,
236248 },
237249 "required" : [" is_whitelisted" ]
238250 },
251+ "FiscalCode" : {
252+ "type" : " string" ,
253+ "description" : " User's fiscal code." ,
254+ "format" : " FiscalCode" ,
255+ "x-import" : " @pagopa/ts-commons/lib/strings" ,
256+ "example" : " SPNDNL80R13C555X"
257+ },
239258 "ProblemJson" : {
240259 "type" : " object" ,
241260 "properties" : {
You can’t perform that action at this time.
0 commit comments