From 78a5a3516c44889ed4a684922080c284a58c3598 Mon Sep 17 00:00:00 2001 From: david-rocca Date: Tue, 26 Nov 2024 13:34:20 -0500 Subject: [PATCH 1/2] updating to be version 5.1 --- src/constants/index.js | 2 +- src/swagger.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/constants/index.js b/src/constants/index.js index 11646d007..2b424b94b 100644 --- a/src/constants/index.js +++ b/src/constants/index.js @@ -16,7 +16,7 @@ function getConstants () { * @lends defaults */ const defaults = { - SCHEMA_VERSION: '5.1.1', + SCHEMA_VERSION: '5.1', MONGOOSE_VALIDATION: { Org_policies_id_quota_min: 0, Org_policies_id_quota_min_message: 'Org.policies.id_quota cannot be a negative number.', diff --git a/src/swagger.js b/src/swagger.js index c9ea656a1..29cdbc7f4 100644 --- a/src/swagger.js +++ b/src/swagger.js @@ -34,7 +34,7 @@ const doc = { or MITRE) to request credentials \ \

CVE data is to be in the JSON 5.1 CVE Record format. Details of the JSON 5.1 schema are \ - located here.

\ + located here.

\ Contact the CVE Services team", contact: { name: 'CVE Services Overview', From 4b9211ec9ffc87d3a3d2fe819a882fed2f27ea39 Mon Sep 17 00:00:00 2001 From: david-rocca Date: Tue, 26 Nov 2024 13:36:40 -0500 Subject: [PATCH 2/2] Added new generated documentation --- api-docs/openapi.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-docs/openapi.json b/api-docs/openapi.json index b2fe134c4..0169e993e 100644 --- a/api-docs/openapi.json +++ b/api-docs/openapi.json @@ -3,7 +3,7 @@ "info": { "version": "2.4.0", "title": "CVE Services API", - "description": "The CVE Services API supports automation tooling for the CVE Program. Credentials are required for most service endpoints. Representatives of CVE Numbering Authorities (CNAs) should use one of the methods below to obtain credentials:

CVE data is to be in the JSON 5.1 CVE Record format. Details of the JSON 5.1 schema are located here.

Contact the CVE Services team", + "description": "The CVE Services API supports automation tooling for the CVE Program. Credentials are required for most service endpoints. Representatives of CVE Numbering Authorities (CNAs) should use one of the methods below to obtain credentials:

CVE data is to be in the JSON 5.1 CVE Record format. Details of the JSON 5.1 schema are located here.

Contact the CVE Services team", "contact": { "name": "CVE Services Overview", "url": "https://cveproject.github.io/automation-cve-services#services-overview"