You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
seem to support different string-based syntaxes for line ranges, or even lists of line ranges. What I've seen so far is e.g. "42" and "66-99", but apparently also something like "32-105,117-199,210-266,278-488,500-781,793-937,951-1051,1062-1081" can be returned by the API. Please document all of the above, plus anything else that is to be expected.
The text was updated successfully, but these errors were encountered:
As a side note, ideally the data model would be more typed here to begin with, and use an array of start and end lines which each are integers, instead of a string that the user of this library needs to parse on its own.
Thanks for the feedback!
For the current version of this JSON schema we are keeping it as a string (comma separated). We are working on a new structure and when that is published it will be fully typed.
We will share this info once it has been finalised.
The properties at
scanoss.java/src/main/java/com/scanoss/dto/ScanFileDetails.java
Lines 42 to 44 in 8598c47
seem to support different string-based syntaxes for line ranges, or even lists of line ranges. What I've seen so far is e.g. "42" and "66-99", but apparently also something like "32-105,117-199,210-266,278-488,500-781,793-937,951-1051,1062-1081" can be returned by the API. Please document all of the above, plus anything else that is to be expected.
The text was updated successfully, but these errors were encountered: