예제 #1
0
 public ApiDeclaration getApiDeclaration(String module, String revision, UriInfo uriInfo) {
   SchemaContext schemaContext = schemaService.getGlobalContext();
   Preconditions.checkState(schemaContext != null);
   return super.getApiDeclaration(module, revision, uriInfo, schemaContext, "");
 }
예제 #2
0
 public ResourceList getResourceListing(UriInfo uriInfo) {
   Preconditions.checkState(schemaService != null);
   SchemaContext schemaContext = schemaService.getGlobalContext();
   Preconditions.checkState(schemaContext != null);
   return super.getResourceListing(uriInfo, schemaContext, "");
 }