Package io.quarkiverse.openapi.generator
Class OpenApiGeneratorConfig
- java.lang.Object
-
- io.quarkiverse.openapi.generator.OpenApiGeneratorConfig
-
@ConfigRoot(name="openapi-generator", phase=RUN_TIME) public class OpenApiGeneratorConfig extends Object
This class represents the runtime configurations for the openapi-generator extension.
-
-
Field Summary
Fields Modifier and Type Field Description Map<String,SpecItemConfig>
itemConfigs
Configurations of the individual OpenApi spec definitions, i.e.static String
RUNTIME_TIME_CONFIG_PREFIX
-
Constructor Summary
Constructors Constructor Description OpenApiGeneratorConfig()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<SpecItemConfig>
getItemConfig(String specItem)
static String
getSanitizedSecuritySchemeName(String securitySchemeName)
String
toString()
-
-
-
Field Detail
-
RUNTIME_TIME_CONFIG_PREFIX
public static final String RUNTIME_TIME_CONFIG_PREFIX
- See Also:
- Constant Field Values
-
itemConfigs
@ConfigItem(name="<<parent>>") public Map<String,SpecItemConfig> itemConfigs
Configurations of the individual OpenApi spec definitions, i.e. the provided files.The key must be any of the sanitized names of the OpenApi definition files. For example, a file named petstore.json is sanitized into the name petstore_json, and thus the specific configurations this file must start with the prefix quarkus.openapi-generator.petstore_json
-
-