<commit_before>package org.cytoscape.rest.internal;

import org.cytoscape.rest.internal.commands.resources.CommandResource;
import org.cytoscape.rest.internal.resource.AlgorithmicResource;
import org.cytoscape.rest.internal.resource.CIResponseFilter;
import org.cytoscape.rest.internal.resource.CORSFilter;
import org.cytoscape.rest.internal.resource.CollectionResource;
import org.cytoscape.rest.internal.resource.CyExceptionMapper;
import org.cytoscape.rest.internal.resource.CyRESTCommandSwagger;
import org.cytoscape.rest.internal.resource.GlobalTableResource;
import org.cytoscape.rest.internal.resource.GroupResource;
import org.cytoscape.rest.internal.resource.MiscResource;
import org.cytoscape.rest.internal.resource.NetworkFullResource;
import org.cytoscape.rest.internal.resource.NetworkNameResource;
import org.cytoscape.rest.internal.resource.NetworkResource;
import org.cytoscape.rest.internal.resource.NetworkViewResource;
import org.cytoscape.rest.internal.resource.RootResource;
import org.cytoscape.rest.internal.resource.SessionResource;
import org.cytoscape.rest.internal.resource.StyleResource;
import org.cytoscape.rest.internal.resource.SwaggerUIResource;
import org.cytoscape.rest.internal.resource.TableResource;
import org.cytoscape.rest.internal.resource.UIResource;

public class CyRESTConstants {
	public static final Class<?>[] coreResourceClasses = {
			RootResource.class,
			NetworkResource.class,
			NetworkFullResource.class,
			NetworkViewResource.class,
			TableResource.class,
			MiscResource.class,
			AlgorithmicResource.class,
			StyleResource.class,
			GroupResource.class,
			GlobalTableResource.class,
			SessionResource.class,
			NetworkNameResource.class,
			UIResource.class,
			CollectionResource.class,

			// For Commands
			CommandResource.class,
			CyRESTCommandSwagger.class,
			
			SwaggerUIResource.class,

			//For CORS
			CORSFilter.class,
			
			//For CI
			CIResponseFilter.class,
			
			//For Error Handling
			CyExceptionMapper.class
	};
	
	public final static String CYTOSCAPE_API_VERSION = "3.6.1";
	
	public final static String CY_REST_CI_ROOT = "urn:cytoscape:ci:cyrest-core:v1";
	public final static String CY_REST_CI_ERROR_ROOT = "errors";
	
	public final static String CY_REST_HELP_MENU_ANCHOR = "Help.Automation[1.9999999]"; //That's enough 9's right? Yeah. Probably.

	public final static String getErrorURI(String resourceURI, int code) {
		return CY_REST_CI_ROOT + ":" + resourceURI + ":"+ CY_REST_CI_ERROR_ROOT + ":"+ code;<commit_msg>Update Cytoscape API Version for JavaDocs<commit_after>package org.cytoscape.rest.internal;

import org.cytoscape.rest.internal.commands.resources.CommandResource;
import org.cytoscape.rest.internal.resource.AlgorithmicResource;
import org.cytoscape.rest.internal.resource.CIResponseFilter;
import org.cytoscape.rest.internal.resource.CORSFilter;
import org.cytoscape.rest.internal.resource.CollectionResource;
import org.cytoscape.rest.internal.resource.CyExceptionMapper;
import org.cytoscape.rest.internal.resource.CyRESTCommandSwagger;
import org.cytoscape.rest.internal.resource.GlobalTableResource;
import org.cytoscape.rest.internal.resource.GroupResource;
import org.cytoscape.rest.internal.resource.MiscResource;
import org.cytoscape.rest.internal.resource.NetworkFullResource;
import org.cytoscape.rest.internal.resource.NetworkNameResource;
import org.cytoscape.rest.internal.resource.NetworkResource;
import org.cytoscape.rest.internal.resource.NetworkViewResource;
import org.cytoscape.rest.internal.resource.RootResource;
import org.cytoscape.rest.internal.resource.SessionResource;
import org.cytoscape.rest.internal.resource.StyleResource;
import org.cytoscape.rest.internal.resource.SwaggerUIResource;
import org.cytoscape.rest.internal.resource.TableResource;
import org.cytoscape.rest.internal.resource.UIResource;

public class CyRESTConstants {
	public static final Class<?>[] coreResourceClasses = {
			RootResource.class,
			NetworkResource.class,
			NetworkFullResource.class,
			NetworkViewResource.class,
			TableResource.class,
			MiscResource.class,
			AlgorithmicResource.class,
			StyleResource.class,
			GroupResource.class,
			GlobalTableResource.class,
			SessionResource.class,
			NetworkNameResource.class,
			UIResource.class,
			CollectionResource.class,

			// For Commands
			CommandResource.class,
			CyRESTCommandSwagger.class,
			
			SwaggerUIResource.class,

			//For CORS
			CORSFilter.class,
			
			//For CI
			CIResponseFilter.class,
			
			//For Error Handling
			CyExceptionMapper.class
	};
	
	public final static String CYTOSCAPE_API_VERSION = "3.7.0";
	
	public final static String CY_REST_CI_ROOT = "urn:cytoscape:ci:cyrest-core:v1";
	public final static String CY_REST_CI_ERROR_ROOT = "errors";
	
	public final static String CY_REST_HELP_MENU_ANCHOR = "Help.Automation[1.9999999]"; //That's enough 9's right? Yeah. Probably.

	public final static String getErrorURI(String resourceURI, int code) {
		return CY_REST_CI_ROOT + ":" + resourceURI + ":"+ CY_REST_CI_ERROR_ROOT + ":"+ code;
{'fraction_non_alphanumeric': 0.09476605868358445, 'fraction_numerical': 0.005154639175257732, 'mean_word_length': 5.534974093264249, 'pattern_counts': {'":': 6, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1462069', 'n_tokens_mistral': 1745, 'n_tokens_neox': 1514, 'n_words': 248}