From 07aca54f85593a7815278d29a1d6399f3a6872fd Mon Sep 17 00:00:00 2001 From: Andrew Pollock Date: Mon, 19 Aug 2024 09:50:11 +1000 Subject: [PATCH] fix(api): add CVSS_V4 to API Swagger documentation (#2486) The addition of `CVSS_V4` in #2312 did not add it to the Swagger documentation. Open to suggestions on how to guard against such divergence in the future. Fixes: #2485 --- docs/osv_service_v1.swagger.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/osv_service_v1.swagger.json b/docs/osv_service_v1.swagger.json index 8ff08964349..15a65829671 100644 --- a/docs/osv_service_v1.swagger.json +++ b/docs/osv_service_v1.swagger.json @@ -336,6 +336,7 @@ "type": "string", "enum": [ "UNSPECIFIED", + "CVSS_V4", "CVSS_V3", "CVSS_V2" ], @@ -627,4 +628,4 @@ } }, "host": "api.osv.dev" -} \ No newline at end of file +}