Class Annotations


  • public class Annotations
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Optional<io.swagger.annotations.ApiParam> findApiParamAnnotation​(java.lang.reflect.AnnotatedElement annotated)  
      static java.util.List<io.swagger.annotations.ApiResponses> findApiResponsesAnnotations​(java.lang.reflect.AnnotatedElement annotated)  
      static java.util.function.Function<io.swagger.v3.oas.annotations.responses.ApiResponses,​java.util.Collection<io.swagger.v3.oas.annotations.responses.ApiResponse>> fromApiResponsesAnnotation()  
      static java.util.function.Function<io.swagger.v3.oas.annotations.Operation,​java.util.Collection<io.swagger.v3.oas.annotations.responses.ApiResponse>> fromOperationAnnotation()  
      static java.util.function.Function<io.swagger.annotations.ApiOperation,​com.fasterxml.classmate.ResolvedType> resolvedTypeFromApiOperation​(com.fasterxml.classmate.TypeResolver typeResolver, com.fasterxml.classmate.ResolvedType defaultType)  
      static java.util.function.Function<io.swagger.annotations.ApiResponse,​com.fasterxml.classmate.ResolvedType> resolvedTypeFromResponse​(com.fasterxml.classmate.TypeResolver typeResolver, com.fasterxml.classmate.ResolvedType defaultType)  
      static java.util.function.Function<io.swagger.v3.oas.annotations.media.Schema,​com.fasterxml.classmate.ResolvedType> resolvedTypeFromSchema​(com.fasterxml.classmate.TypeResolver typeResolver, com.fasterxml.classmate.ResolvedType defaultType)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • findApiParamAnnotation

        public static java.util.Optional<io.swagger.annotations.ApiParam> findApiParamAnnotation​(java.lang.reflect.AnnotatedElement annotated)
      • findApiResponsesAnnotations

        public static java.util.List<io.swagger.annotations.ApiResponses> findApiResponsesAnnotations​(java.lang.reflect.AnnotatedElement annotated)
      • resolvedTypeFromApiOperation

        public static java.util.function.Function<io.swagger.annotations.ApiOperation,​com.fasterxml.classmate.ResolvedType> resolvedTypeFromApiOperation​(com.fasterxml.classmate.TypeResolver typeResolver,
                                                                                                                                                               com.fasterxml.classmate.ResolvedType defaultType)
      • resolvedTypeFromResponse

        public static java.util.function.Function<io.swagger.annotations.ApiResponse,​com.fasterxml.classmate.ResolvedType> resolvedTypeFromResponse​(com.fasterxml.classmate.TypeResolver typeResolver,
                                                                                                                                                          com.fasterxml.classmate.ResolvedType defaultType)
      • fromOperationAnnotation

        public static java.util.function.Function<io.swagger.v3.oas.annotations.Operation,​java.util.Collection<io.swagger.v3.oas.annotations.responses.ApiResponse>> fromOperationAnnotation()
      • fromApiResponsesAnnotation

        public static java.util.function.Function<io.swagger.v3.oas.annotations.responses.ApiResponses,​java.util.Collection<io.swagger.v3.oas.annotations.responses.ApiResponse>> fromApiResponsesAnnotation()
      • resolvedTypeFromSchema

        public static java.util.function.Function<io.swagger.v3.oas.annotations.media.Schema,​com.fasterxml.classmate.ResolvedType> resolvedTypeFromSchema​(com.fasterxml.classmate.TypeResolver typeResolver,
                                                                                                                                                                com.fasterxml.classmate.ResolvedType defaultType)