added response translation capability

This commit is contained in:
Brian Long 2024-03-27 13:57:17 -04:00
parent e089e5237d
commit 9436838034

View File

@ -0,0 +1,18 @@
package com.poststats.rs.api.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface TranslateResponseStatus {
int[] fromValue();
int value();
}