forked from Archives/Athou_commafeed
small fixes to swagger implementation
This commit is contained in:
@@ -184,10 +184,10 @@ public abstract class AbstractREST {
|
|||||||
if (api == null) {
|
if (api == null) {
|
||||||
return Response.status(Status.NOT_FOUND).build();
|
return Response.status(Status.NOT_FOUND).build();
|
||||||
}
|
}
|
||||||
String apiPath = null;
|
String apiPath = api.value();
|
||||||
String apiListingPath = api.value();
|
String apiListingPath = api.value();
|
||||||
|
|
||||||
Documentation doc = new HelpApi("").filterDocs(JaxrsApiReader.read(
|
Documentation doc = new HelpApi(null).filterDocs(JaxrsApiReader.read(
|
||||||
getClass(), apiVersion, swaggerVersion, basePath, apiPath),
|
getClass(), apiVersion, swaggerVersion, basePath, apiPath),
|
||||||
headers, uriInfo, apiListingPath, apiPath);
|
headers, uriInfo, apiListingPath, apiPath);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user