Skip to content

Commit bdb7006

Browse files
[Update OpenAPI] Merge openapi prod using openapi-merge-cli
Co-authored-by: gianmarcoplutino <[email protected]>
1 parent 55085a0 commit bdb7006

File tree

1 file changed

+325
-1
lines changed

1 file changed

+325
-1
lines changed

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

+325-1
Original file line numberDiff line numberDiff line change
@@ -342,12 +342,76 @@
342342
]
343343
}
344344
},
345+
"/uo/{codiceUniUo}": {
346+
"get": {
347+
"tags": [
348+
"uo-controller"
349+
],
350+
"summary": "Retrieve a UO given its code",
351+
"description": "Returns a UO",
352+
"operationId": "findUoByUnicodeUsingGET",
353+
"parameters": [
354+
{
355+
"name": "codiceUniUo",
356+
"in": "path",
357+
"required": true,
358+
"schema": {
359+
"type": "string"
360+
}
361+
},
362+
{
363+
"name": "categories",
364+
"in": "query",
365+
"required": false,
366+
"schema": {
367+
"type": "array",
368+
"items": {
369+
"type": "string"
370+
}
371+
}
372+
}
373+
],
374+
"responses": {
375+
"200": {
376+
"description": "OK",
377+
"content": {
378+
"application/json": {
379+
"schema": {
380+
"$ref": "#/components/schemas/UOResource"
381+
}
382+
}
383+
}
384+
},
385+
"400": {
386+
"description": "Bad Request"
387+
},
388+
"401": {
389+
"description": "Unauthorized"
390+
},
391+
"404": {
392+
"description": "Not Found"
393+
},
394+
"500": {
395+
"description": "Internal Server Error"
396+
}
397+
},
398+
"security": [
399+
{
400+
"apiKeyHeader": [
401+
"global"
402+
]
403+
}
404+
]
405+
}
406+
},
345407
"/infocamere-pdnd/institution/{taxCode}": {
346408
"get": {
347409
"tags": [
348410
"infocamere-pdnd"
349411
],
350-
"operationId": "institutionPdndByTaxCode",
412+
"summary": "Get institution by institution taxCode",
413+
"description": "Get the company represented by taxCode of the institution passed as a parameter",
414+
"operationId": "institutionsPdndByDescriptionUsingGET",
351415
"parameters": [
352416
{
353417
"name": "taxCode",
@@ -391,6 +455,68 @@
391455
]
392456
}
393457
},
458+
"/aoo/{codiceUniAoo}": {
459+
"get": {
460+
"tags": [
461+
"aoo-controller"
462+
],
463+
"summary": "Retrieve an AOO given its code",
464+
"description": "Returns an AOO",
465+
"operationId": "findAOOByUnicodeUsingGET",
466+
"parameters": [
467+
{
468+
"name": "codiceUniAoo",
469+
"in": "path",
470+
"required": true,
471+
"schema": {
472+
"type": "string"
473+
}
474+
},
475+
{
476+
"name": "categories",
477+
"in": "query",
478+
"required": false,
479+
"schema": {
480+
"type": "array",
481+
"items": {
482+
"type": "string"
483+
}
484+
}
485+
}
486+
],
487+
"responses": {
488+
"200": {
489+
"description": "OK",
490+
"content": {
491+
"application/json": {
492+
"schema": {
493+
"$ref": "#/components/schemas/AOOResource"
494+
}
495+
}
496+
}
497+
},
498+
"400": {
499+
"description": "Bad Request"
500+
},
501+
"401": {
502+
"description": "Unauthorized"
503+
},
504+
"404": {
505+
"description": "Not Found"
506+
},
507+
"500": {
508+
"description": "Internal Server Error"
509+
}
510+
},
511+
"security": [
512+
{
513+
"apiKeyHeader": [
514+
"global"
515+
]
516+
}
517+
]
518+
}
519+
},
394520
"/institutions/{institutionId}/users": {
395521
"get": {
396522
"tags": [
@@ -1585,6 +1711,9 @@
15851711
"institutionType": {
15861712
"type": "string"
15871713
},
1714+
"isTest": {
1715+
"type": "boolean"
1716+
},
15881717
"istatCode": {
15891718
"type": "string"
15901719
},
@@ -1835,6 +1964,105 @@
18351964
],
18361965
"type": "string"
18371966
},
1967+
"UOResource": {
1968+
"type": "object",
1969+
"properties": {
1970+
"id": {
1971+
"type": "string"
1972+
},
1973+
"codiceIpa": {
1974+
"type": "string"
1975+
},
1976+
"denominazioneEnte": {
1977+
"type": "string"
1978+
},
1979+
"codiceFiscaleEnte": {
1980+
"type": "string"
1981+
},
1982+
"codiceFiscaleSfe": {
1983+
"type": "string"
1984+
},
1985+
"codiceUniUo": {
1986+
"type": "string"
1987+
},
1988+
"codiceUniUoPadre": {
1989+
"type": "string"
1990+
},
1991+
"codiceUniAoo": {
1992+
"type": "string"
1993+
},
1994+
"descrizioneUo": {
1995+
"type": "string"
1996+
},
1997+
"mail1": {
1998+
"type": "string"
1999+
},
2000+
"mail2": {
2001+
"type": "string"
2002+
},
2003+
"mail3": {
2004+
"type": "string"
2005+
},
2006+
"origin": {
2007+
"type": "string",
2008+
"enum": [
2009+
"static",
2010+
"IPA",
2011+
"ANAC",
2012+
"IVASS",
2013+
"INFOCAMERE"
2014+
]
2015+
},
2016+
"dataIstituzione": {
2017+
"type": "string"
2018+
},
2019+
"nomeResponsabile": {
2020+
"type": "string"
2021+
},
2022+
"cognomeResponsabile": {
2023+
"type": "string"
2024+
},
2025+
"mailResponsabile": {
2026+
"type": "string"
2027+
},
2028+
"telefonoResponsabile": {
2029+
"type": "string"
2030+
},
2031+
"codiceComuneISTAT": {
2032+
"type": "string"
2033+
},
2034+
"codiceCatastaleComune": {
2035+
"type": "string"
2036+
},
2037+
"indirizzo": {
2038+
"type": "string"
2039+
},
2040+
"telefono": {
2041+
"type": "string"
2042+
},
2043+
"fax": {
2044+
"type": "string"
2045+
},
2046+
"tipoMail1": {
2047+
"type": "string"
2048+
},
2049+
"tipoMail2": {
2050+
"type": "string"
2051+
},
2052+
"tipoMail3": {
2053+
"type": "string"
2054+
},
2055+
"url": {
2056+
"type": "string"
2057+
},
2058+
"dataAggiornamento": {
2059+
"type": "string"
2060+
},
2061+
"cap": {
2062+
"type": "string"
2063+
}
2064+
}
2065+
},
18382066
"PDNDBusinessResource": {
18392067
"type": "object",
18402068
"properties": {
@@ -1876,6 +2104,102 @@
18762104
}
18772105
}
18782106
},
2107+
"AOOResource": {
2108+
"type": "object",
2109+
"properties": {
2110+
"id": {
2111+
"type": "string"
2112+
},
2113+
"codiceIpa": {
2114+
"type": "string"
2115+
},
2116+
"denominazioneEnte": {
2117+
"type": "string"
2118+
},
2119+
"codiceFiscaleEnte": {
2120+
"type": "string"
2121+
},
2122+
"codiceUniAoo": {
2123+
"type": "string"
2124+
},
2125+
"denominazioneAoo": {
2126+
"type": "string"
2127+
},
2128+
"dataIstituzione": {
2129+
"type": "string"
2130+
},
2131+
"nomeResponsabile": {
2132+
"type": "string"
2133+
},
2134+
"cognomeResponsabile": {
2135+
"type": "string"
2136+
},
2137+
"mailResponsabile": {
2138+
"type": "string"
2139+
},
2140+
"telefonoResponsabile": {
2141+
"type": "string"
2142+
},
2143+
"codiceComuneISTAT": {
2144+
"type": "string"
2145+
},
2146+
"codiceCatastaleComune": {
2147+
"type": "string"
2148+
},
2149+
"indirizzo": {
2150+
"type": "string"
2151+
},
2152+
"telefono": {
2153+
"type": "string"
2154+
},
2155+
"fax": {
2156+
"type": "string"
2157+
},
2158+
"protocolloInformatico": {
2159+
"type": "string"
2160+
},
2161+
"dataAggiornamento": {
2162+
"type": "string"
2163+
},
2164+
"codAoo": {
2165+
"type": "string"
2166+
},
2167+
"origin": {
2168+
"type": "string",
2169+
"enum": [
2170+
"static",
2171+
"IPA",
2172+
"ANAC",
2173+
"IVASS",
2174+
"INFOCAMERE"
2175+
]
2176+
},
2177+
"tipoMail1": {
2178+
"type": "string"
2179+
},
2180+
"mail1": {
2181+
"type": "string"
2182+
},
2183+
"tipoMail2": {
2184+
"type": "string"
2185+
},
2186+
"mail2": {
2187+
"type": "string"
2188+
},
2189+
"tipoMail3": {
2190+
"type": "string"
2191+
},
2192+
"mail3": {
2193+
"type": "string"
2194+
},
2195+
"cap": {
2196+
"type": "string"
2197+
},
2198+
"uriprotocolloInformatico": {
2199+
"type": "string"
2200+
}
2201+
}
2202+
},
18792203
"UserResource": {
18802204
"title": "UserResource",
18812205
"required": [

0 commit comments

Comments
 (0)