Skip to content

Commit 8c7d9d8

Browse files
[Update OpenAPI] Merge openapi uat using openapi-merge-cli (#485)
Co-authored-by: gianmarcoplutino <[email protected]>
1 parent 344ec8f commit 8c7d9d8

File tree

1 file changed

+127
-0
lines changed

1 file changed

+127
-0
lines changed

infra/apim_v2/api/ms_internal_api/v1/openapi.uat.json

+127
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626
{
2727
"name": "Delegation",
2828
"description": "Delegation Controller"
29+
},
30+
{
31+
"name": "infocamere-pdnd",
32+
"description": "PDND Info Camere Controller"
2933
}
3034
],
3135
"paths": {
@@ -339,6 +343,87 @@
339343
]
340344
}
341345
},
346+
"/infocamere-pdnd/institution/{taxCode}": {
347+
"get": {
348+
"tags": [
349+
"infocamere-pdnd"
350+
],
351+
"summary": "Get institution by institution taxCode",
352+
"description": "Get the company represented by taxCode of the institution passed as a parameter",
353+
"operationId": "institutionPdndByTaxCodeUsingGET",
354+
"parameters": [
355+
{
356+
"name": "taxCode",
357+
"in": "path",
358+
"description": "Institution fiscal code",
359+
"required": true,
360+
"style": "simple",
361+
"schema": {
362+
"type": "string"
363+
}
364+
}
365+
],
366+
"responses": {
367+
"200": {
368+
"description": "OK",
369+
"content": {
370+
"application/json": {
371+
"schema": {
372+
"$ref": "#/components/schemas/PDNDBusinessResource"
373+
}
374+
}
375+
}
376+
},
377+
"400": {
378+
"description": "Bad Request",
379+
"content": {
380+
"application/problem+json": {
381+
"schema": {
382+
"$ref": "#/components/schemas/Problem"
383+
}
384+
}
385+
}
386+
},
387+
"401": {
388+
"description": "Unauthorized",
389+
"content": {
390+
"application/problem+json": {
391+
"schema": {
392+
"$ref": "#/components/schemas/Problem"
393+
}
394+
}
395+
}
396+
},
397+
"404": {
398+
"description": "Not Found",
399+
"content": {
400+
"application/problem+json": {
401+
"schema": {
402+
"$ref": "#/components/schemas/Problem"
403+
}
404+
}
405+
}
406+
},
407+
"500": {
408+
"description": "Internal Server Error",
409+
"content": {
410+
"application/problem+json": {
411+
"schema": {
412+
"$ref": "#/components/schemas/Problem"
413+
}
414+
}
415+
}
416+
}
417+
},
418+
"security": [
419+
{
420+
"bearerAuth": [
421+
"global"
422+
]
423+
}
424+
]
425+
}
426+
},
342427
"/institutions/{institutionId}/users": {
343428
"get": {
344429
"tags": [
@@ -1275,6 +1360,48 @@
12751360
],
12761361
"type": "string"
12771362
},
1363+
"PDNDBusinessResource": {
1364+
"title": "PDNDBusinessResource",
1365+
"type": "object",
1366+
"properties": {
1367+
"address": {
1368+
"type": "string"
1369+
},
1370+
"businessName": {
1371+
"type": "string"
1372+
},
1373+
"businessStatus": {
1374+
"type": "string"
1375+
},
1376+
"businessTaxId": {
1377+
"type": "string"
1378+
},
1379+
"cciaa": {
1380+
"type": "string"
1381+
},
1382+
"city": {
1383+
"type": "string"
1384+
},
1385+
"county": {
1386+
"type": "string"
1387+
},
1388+
"digitalAddress": {
1389+
"type": "string"
1390+
},
1391+
"legalNature": {
1392+
"type": "string"
1393+
},
1394+
"legalNatureDescription": {
1395+
"type": "string"
1396+
},
1397+
"nrea": {
1398+
"type": "string"
1399+
},
1400+
"zipCode": {
1401+
"type": "string"
1402+
}
1403+
}
1404+
},
12781405
"UserResource": {
12791406
"title": "UserResource",
12801407
"required": [

0 commit comments

Comments
 (0)