mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
small fixes to swagger implementation
This commit is contained in:
@@ -184,10 +184,10 @@ public abstract class AbstractREST {
|
||||
if (api == null) {
|
||||
return Response.status(Status.NOT_FOUND).build();
|
||||
}
|
||||
String apiPath = null;
|
||||
String apiPath = 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),
|
||||
headers, uriInfo, apiListingPath, apiPath);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user