Skip to content

Commit ecbab78

Browse files
committed
docs: regenerate openapi artifacts
Signed-off-by: Vitor Mattos <[email protected]>
1 parent 5e1d5cd commit ecbab78

4 files changed

Lines changed: 8 additions & 29 deletions

File tree

openapi-administration.json

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -194,24 +194,6 @@
194194
}
195195
}
196196
},
197-
"CetificateDataGenerated": {
198-
"allOf": [
199-
{
200-
"$ref": "#/components/schemas/EngineHandler"
201-
},
202-
{
203-
"type": "object",
204-
"required": [
205-
"generated"
206-
],
207-
"properties": {
208-
"generated": {
209-
"type": "boolean"
210-
}
211-
}
212-
}
213-
]
214-
},
215197
"ConfigureCheck": {
216198
"type": "object",
217199
"required": [
@@ -1462,7 +1444,7 @@
14621444
"get": {
14631445
"operationId": "admin-load-certificate",
14641446
"summary": "Load certificate data",
1465-
"description": "Return all data of root certificate and a field called `generated` with a boolean value.\nThis endpoint requires admin access",
1447+
"description": "Return all data of the root certificate from the current engine.\nThis endpoint requires admin access",
14661448
"tags": [
14671449
"admin"
14681450
],
@@ -1520,7 +1502,7 @@
15201502
"$ref": "#/components/schemas/OCSMeta"
15211503
},
15221504
"data": {
1523-
"$ref": "#/components/schemas/CetificateDataGenerated"
1505+
"$ref": "#/components/schemas/EngineHandler"
15241506
}
15251507
}
15261508
}

openapi-full.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11638,7 +11638,7 @@
1163811638
"get": {
1163911639
"operationId": "admin-load-certificate",
1164011640
"summary": "Load certificate data",
11641-
"description": "Return all data of root certificate and a field called `generated` with a boolean value.\nThis endpoint requires admin access",
11641+
"description": "Return all data of the root certificate from the current engine.\nThis endpoint requires admin access",
1164211642
"tags": [
1164311643
"admin"
1164411644
],
@@ -11696,7 +11696,7 @@
1169611696
"$ref": "#/components/schemas/OCSMeta"
1169711697
},
1169811698
"data": {
11699-
"$ref": "#/components/schemas/CetificateDataGenerated"
11699+
"$ref": "#/components/schemas/EngineHandler"
1170011700
}
1170111701
}
1170211702
}

src/types/openapi/openapi-administration.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export type paths = {
7474
};
7575
/**
7676
* Load certificate data
77-
* @description Return all data of root certificate and a field called `generated` with a boolean value.
77+
* @description Return all data of the root certificate from the current engine.
7878
* This endpoint requires admin access
7979
*/
8080
get: operations["admin-load-certificate"];
@@ -569,9 +569,6 @@ export type components = {
569569
status: "success";
570570
CPS: string;
571571
};
572-
CetificateDataGenerated: components["schemas"]["EngineHandler"] & {
573-
generated: boolean;
574-
};
575572
ConfigureCheck: {
576573
message: string;
577574
resource: string;
@@ -996,7 +993,7 @@ export interface operations {
996993
"application/json": {
997994
ocs: {
998995
meta: components["schemas"]["OCSMeta"];
999-
data: components["schemas"]["CetificateDataGenerated"];
996+
data: components["schemas"]["EngineHandler"];
1000997
};
1001998
};
1002999
};

src/types/openapi/openapi-full.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1163,7 +1163,7 @@ export type paths = {
11631163
};
11641164
/**
11651165
* Load certificate data
1166-
* @description Return all data of root certificate and a field called `generated` with a boolean value.
1166+
* @description Return all data of the root certificate from the current engine.
11671167
* This endpoint requires admin access
11681168
*/
11691169
get: operations["admin-load-certificate"];
@@ -6147,7 +6147,7 @@ export interface operations {
61476147
"application/json": {
61486148
ocs: {
61496149
meta: components["schemas"]["OCSMeta"];
6150-
data: components["schemas"]["CetificateDataGenerated"];
6150+
data: components["schemas"]["EngineHandler"];
61516151
};
61526152
};
61536153
};

0 commit comments

Comments
 (0)