Package io.kiota.quarkus
Class KiotaCodeGenConfig
java.lang.Object
io.kiota.quarkus.KiotaCodeGenConfig
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionOverrides the detected ArchitectureOverrides the detected Operating SystemThe path to a kiota executable location to be used.The path to a kiota executable location to be usedConfiguration resolved based on the OpenAPI description file nameThe timeout to be used when running the kiota CLI.The kiota version to be used. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetArch(org.eclipse.microprofile.config.Config config) static StringgetClientClassName(org.eclipse.microprofile.config.Config config, String filename) static StringgetClientPackageName(org.eclipse.microprofile.config.Config config, String filename) getDeserializer(org.eclipse.microprofile.config.Config config, String filename) static StringgetExcludePath(org.eclipse.microprofile.config.Config config, String filename) static StringgetIncludePath(org.eclipse.microprofile.config.Config config, String filename) static io.quarkus.utilities.OSgetOs(org.eclipse.microprofile.config.Config config) static StringgetProvided(org.eclipse.microprofile.config.Config config) static StringgetReleaseUrl(org.eclipse.microprofile.config.Config config) getSerializer(org.eclipse.microprofile.config.Config config, String filename) static intgetTimeout(org.eclipse.microprofile.config.Config config) static StringgetVersion(org.eclipse.microprofile.config.Config config)
-
Field Details
-
os
Overrides the detected Operating System -
arch
Overrides the detected Architecture -
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> releaseUrlThe path to a kiota executable location to be used -
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
The timeout to be used when running the kiota CLI. -
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
-
getProvided
-
getReleaseUrl
-
getVersion
-
getTimeout
public static int getTimeout(org.eclipse.microprofile.config.Config config) -
getClientClassName
-
getClientPackageName
-
getIncludePath
-
getExcludePath
-
getSerializer
-
getDeserializer
-