Class AliasUtils

java.lang.Object
com.github.chhorz.openapi.spring.util.AliasUtils

public class AliasUtils extends Object
  • Constructor Details

    • AliasUtils

      public AliasUtils()
  • Method Details

    • getValue

      public <T> String getValue(T t, Function<T,String> primary, Function<T,String> secondary, String defaultValue)
    • getMappingAnnotation

      public org.springframework.web.bind.annotation.RequestMapping getMappingAnnotation(Element element)
    • mergeClassAndMethodMappings

      public org.springframework.web.bind.annotation.RequestMapping mergeClassAndMethodMappings(org.springframework.web.bind.annotation.RequestMapping classMapping, org.springframework.web.bind.annotation.RequestMapping methodMapping)
    • prependSlash

      public String prependSlash(String path)