Skip to content

[Java][Spring-Cloud] Tests for Find Pets by Status/Tag failed #3512

@wing328

Description

@wing328
Description

Tests for findPetsByStatus/Tag failed with the following error messages:

Results :

Tests in error: 
  PetApiTest.testFindPetsByStatus:67 » Decode Could not read document: Can not c...
  PetApiTest.testFindPetsByTags:95 » Decode Could not read document: Can not con...

Tests run: 16, Failures: 0, Errors: 2, Skipped: 1

(Ref: https://s3.amazonaws.com/archive.travis-ci.org/jobs/149416986/log.txt)

Currently these 2 tests cases have been ignored and we want to fix the issue so that we can re-enable these 2 test cases.

Swagger-codegen version

Latest master

Swagger declaration file content or url

modules/swagger-codegen/src/test/resources/2_0/petstore.yaml

Command line used for generation

./bin/spring-cloud-feign-petstore.sh

Steps to reproduce
cd samples/client/petstore/spring-cloud
mvn test

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions