Example #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, "");
 }
Example #2
0
 public ResourceList getResourceListing(UriInfo uriInfo) {
   Preconditions.checkState(schemaService != null);
   SchemaContext schemaContext = schemaService.getGlobalContext();
   Preconditions.checkState(schemaContext != null);
   return super.getResourceListing(uriInfo, schemaContext, "");
 }