CVEProject / cve-services

This repo contains the source for the CVE Services API.
Creative Commons Zero v1.0 Universal
149 stars 70 forks source link

Resolves #1180 Schema version auto populated when omitted in secretariat endpoints #1191

Closed jdaigneau5 closed 8 months ago

jdaigneau5 commented 8 months ago

Closes Issue #1180

Summary

Per secretariat request, the dataVersion field is no longer required for secretariat only CVE endpoints. The field will. be auto populated when omitted.

Important Changes

middleware.js

Testing

Steps to manually test updated functionality, if possible

david-rocca commented 8 months ago

Local tests confirm that when no dataVersion is listed 5.1 is added. But it respects dataVersion when set. LGTM