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