secvisogram / csaf-validator-service

csaf-validator-service is a REST-based service that can be used to check whether a given CSAF 2.0 document is valid.
MIT License
0 stars 6 forks source link

Unify order of output #48

Closed tschmidtb51 closed 1 year ago

tschmidtb51 commented 1 year ago

Currently, there are many different ways the json output is ordered in different tools (csaf-validator-lib, csaf-validator-service, csaf_validator).

tschmidtb51 commented 1 year ago

When this is done, we also need to update the documentation and the TOC in the README

tschmidtb51 commented 1 year ago

The preferred output should use the order:

   {
      "errors": [],
      "warnings": [],
      "infos": [],
      "isValid": true,
      "name": "informativeTest_6_3_9"
    }

Originally posted by @tschmidtb51 in https://github.com/secvisogram/csaf-validator-lib/issues/88#issuecomment-1470038086