Skip to content

jersey2 listing resource broken #1714

@fehguy

Description

@fehguy

1.5.8 seems to have broken the listing resource for jersey2. Now this class:

package io.swagger.jersey.listing;

/* */
@Path("/")
public class ApiListingResourceJSON
        extends ApiListingResource {
}

causes the swagger definition to appear only on "/" instead of "/swagger.{type:json|yaml}" as defined in the io.swagger.jaxrs.listing.ApiListingResource class

The solution is to use io.swagger.jaxrs.listing.ApiListingResource, but for previous uses (like swagger-generator), the 1.5.8 changes break the resource.

We should either fix the ApiListingResourceJSON, remove it, or make it clear how to update when going to 1.5.8.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions