-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
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.