Closed larsolofsson closed 2 months ago
We, during papiNet CWG meeting, 2024-02-28 (Wed), decided to change the type of all ...LineItemNumber
properties from string
to integer
. The minimum value MUST be 0 in order to support 0-based index, but we do not allow negative values.
Is it just me, but if you set minimum:0 you exclude negative values https://swagger.io/docs/specification/data-models/data-types/
Done, see commit 4f7cb88.
Line Item Numbers in version 1.3.0 and papiNet XML is defined as type: integer minimum: 0
In version 2.0.0 and 3.0.0 it is changed to type: string minLength: 1
I think it is a mistake and it should be changed back to type: integer minimum: 0