Class PropertyResolverUtils

java.lang.Object
org.springdoc.core.utils.PropertyResolverUtils

public class PropertyResolverUtils extends Object
The type Property resolver utils.
Author:
bnasslahsen
  • Constructor Details

    • PropertyResolverUtils

      public PropertyResolverUtils(org.springframework.beans.factory.config.ConfigurableBeanFactory factory, org.springframework.context.MessageSource messageSource, SpringDocConfigProperties springDocConfigProperties)
      Instantiates a new Property resolver utils.
      Parameters:
      factory - the factory
      messageSource - the message source
      springDocConfigProperties - the spring doc config properties
  • Method Details

    • resolve

      public String resolve(String parameterProperty, Locale locale)
      Resolve string.
      Parameters:
      parameterProperty - the parameter property
      locale - the locale
      Returns:
      the string
    • getFactory

      public org.springframework.beans.factory.config.ConfigurableBeanFactory getFactory()
      Gets factory.
      Returns:
      the factory
    • getSpringDocConfigProperties

      public SpringDocConfigProperties getSpringDocConfigProperties()
      Gets spring doc config properties.
      Returns:
      the spring doc config properties
    • getSpecVersion

      public io.swagger.v3.oas.models.SpecVersion getSpecVersion()
      Gets spec version.
      Returns:
      the spec version
    • isOpenapi31

      public boolean isOpenapi31()
      Is openapi 31 boolean.
      Returns:
      the boolean
    • isResolveExtensionsProperties

      public boolean isResolveExtensionsProperties()
      Is resolve extensions properties boolean.
      Returns:
      the boolean
    • resolveExtensions

      public Map<String,Object> resolveExtensions(Locale locale, Map<String,Object> extensions)
      Resolve extensions map.
      Parameters:
      locale - the locale
      extensions - the extensions
      Returns:
      the map