Open demeringo opened 1 year ago
API version maybe should be picked up directly from the openapi spec.
Fetch API version directly from the API once https://github.com/Boavizta/boaviztapi/pull/326 and https://github.com/Boavizta/boaviztapi/issues/299 have been released.
Implies to regenerate an API client SDK (which should be done anyway for #576).
Problem
As the underlying Boavizta API may evolve over time, it becomes difficult to compare results of cloud scanner (they may vary depending on the improvements on the API itself).
The same thing may be true for the scanner, if the calclulation method evolves for example.
Solution
The scanner should return some metadata in addition to the values/estimations provided in the json output.
Alternatives
Additional context or elements
Not sure if the API returns it's version or other metadata on a given route.