Skip to content

Operation response type not picked up from method signature #615

@webron

Description

@webron

If @ApiOperation's response property is not used to mark a return type explicitly, Swagger is supposed to use the method's signature's return type as the operation type (unless the return type is javax.ws.rs.core.Response where void will be used instead).

When testing the swagger-jaxrs dependency with a return type other than Response (String, Pet), the return type remained 'void'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions