Backbase/backbase-openapi-tools

Error messages need more description when versions do not match

BB-DDeChristofaro opened this issue · 0 comments

When doing mvn clean install on a syntactically correct specification with the file name of client-api-v2.yaml i receive the following errors depending on the version:

IF the version is version: v2 THEN i receive the following error:

Execution boat-bundle of goal com.backbase.oss:boat-maven-plugin:0.14.8:bundle failed: begin 0, end -1, length 2

IF the version is version: 2 THEN I receive the following error:

Execution boat-bundle of goal com.backbase.oss:boat-maven-plugin:0.14.8:bundle failed: begin 0, end -1, length 1

IF the version is version: 1.0.0 THEN i receive the following error:

Invalid version 1.0.0 in file /Users/dominick/projects/wsecu/digital-banking/dbs/wsecu-card-controls/wsecu-cards-controls-api/target/client-api-v2.yaml

SUCCESSFUL version combinations (from my brief testing) are:

  • version: 2.0.0
  • version: 2.
  • version: 2.0.
  • version: 2.bpibasdkn

Can we return a standardized and more descriptive error message when this is a problem in the code?