Skip to content

Commit

Permalink
Update openapi
Browse files Browse the repository at this point in the history
  • Loading branch information
gianmarcoplutino authored and github-actions[bot] committed Nov 6, 2024
1 parent 1f5f03b commit 970bc15
Showing 1 changed file with 127 additions and 0 deletions.
127 changes: 127 additions & 0 deletions infra/apim_v2/api/ms_internal_api/v1/openapi.dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
{
"name": "Delegation",
"description": "Delegation Controller"
},
{
"name": "infocamere-pdnd",
"description": "PDND Info Camere Controller"
}
],
"paths": {
Expand Down Expand Up @@ -339,6 +343,87 @@
]
}
},
"/infocamere-pdnd/institution/{taxCode}": {
"get": {
"tags": [
"infocamere-pdnd"
],
"summary": "Get institution by institution taxCode",
"description": "Get the company represented by taxCode of the institution passed as a parameter",
"operationId": "institutionPdndByTaxCodeUsingGET",
"parameters": [
{
"name": "taxCode",
"in": "path",
"description": "Institution fiscal code",
"required": true,
"style": "simple",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PDNDBusinessResource"
}
}
}
},
"400": {
"description": "Bad Request",
"content": {
"application/problem+json": {
"schema": {
"$ref": "#/components/schemas/Problem"
}
}
}
},
"401": {
"description": "Unauthorized",
"content": {
"application/problem+json": {
"schema": {
"$ref": "#/components/schemas/Problem"
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"application/problem+json": {
"schema": {
"$ref": "#/components/schemas/Problem"
}
}
}
},
"500": {
"description": "Internal Server Error",
"content": {
"application/problem+json": {
"schema": {
"$ref": "#/components/schemas/Problem"
}
}
}
}
},
"security": [
{
"bearerAuth": [
"global"
]
}
]
}
},
"/institutions/{institutionId}/users": {
"get": {
"tags": [
Expand Down Expand Up @@ -1275,6 +1360,48 @@
],
"type": "string"
},
"PDNDBusinessResource": {
"title": "PDNDBusinessResource",
"type": "object",
"properties": {
"address": {
"type": "string"
},
"businessName": {
"type": "string"
},
"businessStatus": {
"type": "string"
},
"businessTaxId": {
"type": "string"
},
"cciaa": {
"type": "string"
},
"city": {
"type": "string"
},
"county": {
"type": "string"
},
"digitalAddress": {
"type": "string"
},
"legalNature": {
"type": "string"
},
"legalNatureDescription": {
"type": "string"
},
"nrea": {
"type": "string"
},
"zipCode": {
"type": "string"
}
}
},
"UserResource": {
"title": "UserResource",
"required": [
Expand Down

0 comments on commit 970bc15

Please sign in to comment.