docs: private static void validateFormatForViewAction(Format format) throws ApiException {
  		switch (format) {
  		case JSON:
  		case JSONP:
  		case XML:
  		case HTML:
  			return;
  		default:
  			throw new ApiException(ApiException.Type.BAD_FORMAT, "The format OTHER should not be used with views and actions.");
  		}
  	}