public final class Annotations extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getDescription(AnnotatedElement field) |
static boolean |
isRequired(AnnotatedElement element) |
static String |
resolveFieldName(AnnotatedElement element,
String defaultName) |
static boolean |
shouldFieldBeIncludedInSchema(AnnotatedElement element,
String name,
Class<?> modelClass,
RestProperty.Scope scope) |
public static boolean shouldFieldBeIncludedInSchema(AnnotatedElement element, String name, Class<?> modelClass, RestProperty.Scope scope)
public static String resolveFieldName(AnnotatedElement element, String defaultName)
public static boolean isRequired(AnnotatedElement element)
public static String getDescription(AnnotatedElement field)
Copyright © 2017 Atlassian. All rights reserved.