code: private ApiDoc getApiDoc(Class<?> controller, MethodDisplay displayMethodAs) {
  		log.debug("Getting JSONDoc for class: " + controller.getName());
  		ApiDoc apiDoc = initApiDoc(controller);
  
  		apiDoc.setSupportedversions(JSONDocApiVersionDocBuilder.build(controller));
  		apiDoc.setAuth(JSONDocApiAuthDocBuilder.getApiAuthDocForController(controller));
  		apiDoc.setMethods(getApiMethodDocs(controller, displayMethodAs));
  		
  		if(controller.isAnnotationPresent(Api.class)) {
  			apiDoc = mergeApiDoc(controller, apiDoc);
  		}
  		
  		return apiDoc;
  	}
docs: Gets the API documentation for a single class annotated with @Api and for its methods, annotated with @ApiMethod
  @param controller
  @return