Class GeneratorPropertyLoader

java.lang.Object
com.github.chhorz.openapi.common.properties.GeneratorPropertyLoader

public class GeneratorPropertyLoader extends Object
Utility class to load property file into domain objects.
Author:
chhorz
  • Constructor Details

    • GeneratorPropertyLoader

      public GeneratorPropertyLoader(Messager messager, Map<String,String> processorOptions)
  • Method Details

    • createInfoFromProperties

      public Info createInfoFromProperties()
    • createServerFromProperties

      public List<Server> createServerFromProperties()
    • createExternalDocsFromProperties

      public ExternalDocumentation createExternalDocsFromProperties()
    • createSecuritySchemesFromProperties

      public Optional<Map<String,SecurityScheme>> createSecuritySchemesFromProperties()
    • getDescriptionForTag

      public String getDescriptionForTag(String tag)
    • getExternalDocumentationForTag

      public ExternalDocumentation getExternalDocumentationForTag(String tag)
    • getParserProperties

      public ParserProperties getParserProperties()
      Returns the parser properties from the given configuration file or a new instance with default values if the parser object is null.
      Returns:
      the parser properties