Skip to content

Commit

Permalink
fix(api): add CVSS_V4 to API Swagger documentation (google#2486)
Browse files Browse the repository at this point in the history
The addition of `CVSS_V4` in google#2312 did not add it to the Swagger
documentation.

Open to suggestions on how to guard against such divergence in the
future.

Fixes: google#2485
  • Loading branch information
andrewpollock authored Aug 18, 2024
1 parent f7c148f commit 07aca54
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/osv_service_v1.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@
"type": "string",
"enum": [
"UNSPECIFIED",
"CVSS_V4",
"CVSS_V3",
"CVSS_V2"
],
Expand Down Expand Up @@ -627,4 +628,4 @@
}
},
"host": "api.osv.dev"
}
}

0 comments on commit 07aca54

Please sign in to comment.