mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122418 gjames: RA-827 Supporting custom status codes git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126473 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -2,6 +2,9 @@ package org.alfresco.rest.framework;
|
||||
|
||||
import static java.lang.annotation.ElementType.METHOD;
|
||||
|
||||
import org.alfresco.rest.framework.core.ResourceOperation;
|
||||
import org.springframework.extensions.webscripts.Status;
|
||||
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
@@ -16,5 +19,6 @@ import java.lang.annotation.Target;
|
||||
public @interface WebApiDescription {
|
||||
String title();
|
||||
String description() default "";
|
||||
int successStatus() default ResourceOperation.UNSET_STATUS;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user