Class KiotaCodeGenConfig

java.lang.Object
io.kiota.quarkus.KiotaCodeGenConfig

@ConfigRoot(name="kiota", phase=BUILD_TIME) public class KiotaCodeGenConfig extends Object
  • Field Details

    • os

      @ConfigItem(name="os") public Optional<String> os
      Overrides the detected Operating System
    • arch

      @ConfigItem(name="arch") public Optional<String> arch
      Overrides the detected Architecture
    • provided

      @ConfigItem(name="provided") public Optional<String> provided
      The path to a kiota executable location to be used. When set, the kiota version is not going to be checked/used.
    • releaseUrl

      @ConfigItem(name="release.url", defaultValue="https://github.com/microsoft/kiota/releases") public Optional<String> releaseUrl
      The path to a kiota executable location to be used
    • version

      @ConfigItem(name="version") public Optional<String> version
      The kiota version to be used. If not provided we are going to try to resolve "latest" from the GitHub API. Please, set this property in any production grade project.
    • timeout

      @ConfigItem(name="timeout", defaultValue="30") public Optional<String> timeout
      The timeout to be used when running the kiota CLI.
    • specName

      @ConfigItem(name="spec-name") public Optional<KiotaCodeGenConfig.SpecConfig> specName
      Configuration resolved based on the OpenAPI description file name
  • Constructor Details

    • KiotaCodeGenConfig

      public KiotaCodeGenConfig()
  • Method Details

    • getOs

      public static io.quarkus.utilities.OS getOs(org.eclipse.microprofile.config.Config config)
    • getArch

      public static String getArch(org.eclipse.microprofile.config.Config config)
    • getProvided

      public static String getProvided(org.eclipse.microprofile.config.Config config)
    • getReleaseUrl

      public static String getReleaseUrl(org.eclipse.microprofile.config.Config config)
    • getVersion

      public static String getVersion(org.eclipse.microprofile.config.Config config)
    • getTimeout

      public static int getTimeout(org.eclipse.microprofile.config.Config config)
    • getClientClassName

      public static String getClientClassName(org.eclipse.microprofile.config.Config config, String filename)
    • getClientPackageName

      public static String getClientPackageName(org.eclipse.microprofile.config.Config config, String filename)
    • getIncludePath

      public static String getIncludePath(org.eclipse.microprofile.config.Config config, String filename)
    • getExcludePath

      public static String getExcludePath(org.eclipse.microprofile.config.Config config, String filename)
    • getSerializer

      public static List<String> getSerializer(org.eclipse.microprofile.config.Config config, String filename)
    • getDeserializer

      public static List<String> getDeserializer(org.eclipse.microprofile.config.Config config, String filename)