Skip to content

Commit

Permalink
Update openapi
Browse files Browse the repository at this point in the history
  • Loading branch information
manuraf authored and github-actions[bot] committed Jan 24, 2025
1 parent a43058c commit 13288f6
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 0 deletions.
51 changes: 51 additions & 0 deletions infra/apim_v2/api/ms_internal_api/v1/openapi.uat.json
Original file line number Diff line number Diff line change
Expand Up @@ -1186,6 +1186,49 @@
]
}
},
"/tokens/contract-report": {
"get": {
"tags": [],
"summary": "Check if contract signed is a CADES file",
"description": "Check if contract signed is a CADES file even if is not .p7m",
"operationId": "reportContractSigned",
"parameters": [
{
"name": "onboardingId",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ContractSignedReport"
}
}
}
},
"401": {
"description": "Not Authorized"
},
"403": {
"description": "Not Allowed"
}
},
"security": [
{
"apiKeyHeader": [
"global"
]
}
]
}
},
"/tokens/contract-signed": {
"put": {
"tags": [],
Expand Down Expand Up @@ -3356,6 +3399,14 @@
"$ref": "#/components/schemas/DataProtectionOfficerRequest1"
}
}
},
"ContractSignedReport": {
"type": "object",
"properties": {
"cades": {
"type": "boolean"
}
}
}
},
"securitySchemes": {
Expand Down
14 changes: 14 additions & 0 deletions infra/apim_v2/api_pnpg/internal_api_for_pnpg/v1/openapi.uat.json
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,12 @@
},
"isAggregator": {
"type": "boolean"
},
"createdAt": {
"$ref": "#/components/schemas/LocalDateTime"
},
"updatedAt": {
"$ref": "#/components/schemas/LocalDateTime"
}
}
},
Expand Down Expand Up @@ -363,6 +369,9 @@
"legalRegisterName": {
"type": "string"
},
"longTermPayments": {
"type": "boolean"
},
"abiCode": {
"type": "string"
},
Expand Down Expand Up @@ -470,6 +479,11 @@
}
}
},
"LocalDateTime": {
"format": "date-time",
"type": "string",
"example": "2022-03-10T12:15:50"
},
"OnboardingPgRequest": {
"required": [
"productId",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1372,6 +1372,7 @@
"enum": [
"AS",
"CON",
"GPU",
"GSP",
"PA",
"PG",
Expand Down

0 comments on commit 13288f6

Please sign in to comment.