swagger-api / swagger-play

Apache License 2.0
330 stars 181 forks source link

Unable to read api . (server returned undefined) #141

Closed mithilesh-g closed 7 years ago

mithilesh-g commented 7 years ago

We are using following version of platform.

JAVA play - 2.2.3 swagger-play - 1.3.7 swagger-ui - 2.0.2

And got stuck with the following error. swagger

We put one annotation at controller class like this @Api(value = "/createSession") public class SessionController extends Controller { ... And one at the function @ApiOperation(value = "/createSession", notes = "Get list of id & values.", response = Response.class,consumes = "application/json",produces = "application/json") @ApiResponses(value = { @ApiResponse(code = 200, message = "OK"), @ApiResponse(code = 400, message = "Failed") }) public static Promise<Result> createSession(final String clientType, final String clientIp, final String androidVersion, final String callType) { ...

The result is like screenshot. Can any one please guide, where and what i am doing wrong.

webron commented 7 years ago

I'm afraid not. We've long stopped supporting 1.3.7. It's a very old version, and honestly, there's nobody who remembers enough about to support it. I understand that you might not be able to upgrade due to your Play version, but there's not much else we can do.

mithilesh-g commented 7 years ago

@webron Thanks!