Skip to content

Commit

Permalink
[Update OpenAPI] Merge openapi prod using openapi-merge-cli (#376)
Browse files Browse the repository at this point in the history
Co-authored-by: manuraf <[email protected]>
  • Loading branch information
selfcare-github-bot and manuraf authored Sep 20, 2024
1 parent 263a705 commit 8cfbc00
Showing 1 changed file with 126 additions and 0 deletions.
126 changes: 126 additions & 0 deletions infra/apim_v2/api_pnpg/pnpg_support_service/v1/openapi.prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,98 @@
]
}
},
"/users/{id}": {
"get": {
"tags": [
"User"
],
"summary": "Retrieves user given userId and optional ProductId",
"operationId": "getUserInfoUsingGET",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "institutionId",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "productId",
"in": "query",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserResponse"
}
}
}
},
"400": {
"description": "Bad Request",
"content": {
"application/problem+json": {
"schema": {
"$ref": "#/components/schemas/Problem1"
}
}
}
},
"401": {
"description": "Not Authorized",
"content": {
"application/problem+json": {
"schema": {
"$ref": "#/components/schemas/Problem1"
}
}
}
},
"403": {
"description": "Forbidden",
"content": {
"application/problem+json": {
"schema": {
"$ref": "#/components/schemas/Problem1"
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"application/problem+json": {
"schema": {
"$ref": "#/components/schemas/Problem1"
}
}
}
}
},
"security": [
{
"bearerAuth": [
"global"
]
}
]
}
},
"/national-registries/legal-tax/verification": {
"post": {
"tags": [
Expand Down Expand Up @@ -956,6 +1048,40 @@
}
}
},
"UserResponse": {
"required": [
"id",
"name",
"surname"
],
"type": "object",
"properties": {
"id": {
"minLength": 1,
"type": "string"
},
"taxCode": {
"type": "string"
},
"name": {
"pattern": "\\S",
"type": "string"
},
"surname": {
"pattern": "\\S",
"type": "string"
},
"email": {
"type": "string"
},
"workContacts": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
},
"LegalVerificationResource": {
"title": "LegalVerificationResource",
"type": "object",
Expand Down

0 comments on commit 8cfbc00

Please sign in to comment.