io.yawp.commons.utils.kind.OldKindResolver Maven / Gradle / Ivy
package io.yawp.commons.utils.kind;
import io.yawp.repository.annotations.Endpoint;
public class OldKindResolver extends KindResolver {
@Override
public String getKind(Class> clazz) {
Endpoint endpoint = clazz.getAnnotation(Endpoint.class);
return endpoint.path();
}
@Override
public String getPath(String kind) {
return kind;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy