diff --git a/api-docs/openapi.json b/api-docs/openapi.json
index 39952ea8f..8d2de3a89 100644
--- a/api-docs/openapi.json
+++ b/api-docs/openapi.json
@@ -1489,7 +1489,7 @@
}
},
"requestBody": {
- "description": "
Notes:
- **providerMetadata** is set by the server. If provided, it will be overwritten.
- **datePublished** and **assignerShortname** are optional fields in the schema, but are set by the server.
",
+ "description": "Notes:
- When updating a rejected record to published, it is recommended to confirm that both the Cve-Id and CVE record are in the REJECTED state after calling this endpoint. Though very unlikely, a race condition can occur causing the two states to be out of sync.
- **providerMetadata** is set by the server. If provided, it will be overwritten.
- **datePublished** and **assignerShortname** are optional fields in the schema, but are set by the server.
",
"required": true,
"content": {
"application/json": {
@@ -1693,7 +1693,7 @@
}
},
"requestBody": {
- "description": "Notes:
- **providerMetadata** is set by the server. If provided, it will be overwritten.
- **datePublished** and **assignerShortname** are optional fields in the schema, but are set by the server.
",
+ "description": "Notes:
- It is recommended to confirm that both the Cve-Id and CVE record are in the REJECTED state after calling this endpoint. Though very unlikely, a race condition can occur causing the two states to be out of sync.
- **providerMetadata** is set by the server. If provided, it will be overwritten.
- **datePublished** and **assignerShortname** are optional fields in the schema, but are set by the server.
",
"required": true,
"content": {
"application/json": {
diff --git a/src/controller/cve.controller/index.js b/src/controller/cve.controller/index.js
index 34ca7ba4d..1b4362f33 100644
--- a/src/controller/cve.controller/index.js
+++ b/src/controller/cve.controller/index.js
@@ -643,6 +643,7 @@ router.put('/cve/:id/cna',
#swagger.requestBody = {
description: 'Notes:
+ - When updating a rejected record to published, it is recommended to confirm that both the Cve-Id and CVE record are in the correct state after calling this endpoint. Though very unlikely, a race condition can occur causing the two states to be out of sync.
- **providerMetadata** is set by the server. If provided, it will be overwritten.
- **datePublished** and **assignerShortname** are optional fields in the schema, but are set by the server.
',
@@ -824,11 +825,12 @@ router.put('/cve/:id/reject',
'#/components/parameters/apiSecretHeader'
]
#swagger.requestBody = {
- description: 'Notes:
+ description: "Notes:
+ - It is recommended to confirm that both the Cve-Id and CVE record are in the REJECTED state after calling this endpoint. Though very unlikely, a race condition can occur causing the two states to be out of sync.
- **providerMetadata** is set by the server. If provided, it will be overwritten.
- **datePublished** and **assignerShortname** are optional fields in the schema, but are set by the server.
-
',
+ ",
required: true,
content: {
"application/json": {