Closed tuolap closed 7 years ago
@tuolap thanks for reporting the issue. I've updated Swagger Parser version to 1.0.25-SNAPSHOT: d52f5a3133596aecc2b26a3bfe433379fe8d3f7d
Please pull the latest master to give it another try.
thanks, seems to work!
Hello!
swagger-parser
's dev version was bumped to 1.0.26-SNAPSHOT
so the problem is actual again.
@koryshev I've rolled back swagger parser to v1.0.24 via https://github.com/swagger-api/swagger-codegen/commit/fb3d4e61bb5c7f5ea343d8eac2d0842c2ffe685e for the time being while we're fixing the test issues due to changes in the latest swagger parser (1.0.26-SNAPSHOT)
Please pull the latest to give it a try.
@wing328 I suggest using v1.0.25 of parser unless there's a reason why to use the next development version.
@fehguy I did go with 1.0.25 to start with but got errors too. I'll do another test to double confirm.
@fehguy FYI. Here are the errors using Swagger Parser 1.0.25:
Results :
Failed tests:
SwaggerMigratorTest.swaggerMigratorTest:14 » ClassCast java.math.BigDecimal ca...
JavaScriptModelEnumTest.enumArrayMdoelTest:99 » NoSuchMethod io.swagger.models...
JavaScriptModelEnumTest.enumMdoelValueTest:130 » NoSuchMethod io.swagger.model...
ObjcModelTest.isArrayModelModelTest:297 » NoSuchMethod io.swagger.models.param...
ObjcModelTest.mixedPropertiesDataModelTest:286 » NoSuchMethod io.swagger.model...
ObjcModelTest.udidAndPasswordDataModelTest:272 » NoSuchMethod io.swagger.model...
PhpModelTest.enumArrayMdoelTest:282 » NoSuchMethod io.swagger.models.parameter...
PhpModelTest.enumMdoelValueTest:313 » NoSuchMethod io.swagger.models.parameter...
TypeScriptFetchModelTest.enumArrayMdoelTest:192 » NoSuchMethod io.swagger.mode...
TypeScriptFetchModelTest.enumMdoelValueTest:226 » NoSuchMethod io.swagger.mode...
Tests run: 598, Failures: 10, Errors: 0, Skipped: 0
Swagger parser version used in my test:
swagger-codegen|master⚡ ⇒ grep "1.0.25" pom.xml
<swagger-parser-version>1.0.25</swagger-parser-version>
swagger-codegen|master⚡ ⇒
OK keep it at 1.0.24 and I'll send a PR to address these issues. It will not change with 1.0.26-SNAPSHOT
@fehguy thanks 👍
Description
Trying to build the
mvn package
and I get the following error:Swagger-codegen version
Latest from master (https://github.com/swagger-api/swagger-codegen/commit/d7afb22f1fcbb24b03dc3b2dab014877f2345d7a)
Steps to reproduce
Related issues
Suggest a Fix
swagger-parser
's dev version was bumped to1.0.25-SNAPSHOT
few days ago and1.0.24-SNAPSHOT
is missing from https://oss.sonatype.org/content/repositories/snapshots/io/swagger/swagger-parser/, so bumping it's version inpom.xml
might help.