Configuration property fixed at build time - All other configuration properties are overridable at runtime
Configuration property |
Type |
Default |
---|---|---|
Whether to skip the generation of models for form parameters Environment variable: |
boolean |
|
Type Mapping is an OpenAPI Generator configuration specifying which Java types (the values) should be used for a given OAS datatype (the keys of this map) Environment variable: |
Map<String,String> |
|
Import Mapping is an OpenAPI Generator configuration specifying which Java types (the values) should be imported when a given OAS datatype (the keys of this map) is used Environment variable: |
Map<String,String> |
|
Schema Mapping is an OpenAPI Generator configuration specifying which Java types (the values) should be imported when a given schema type (the keys of this map) is used Environment variable: |
Map<String,String> |
|
The specified annotations will be added to the generated model files Environment variable: |
string |
|
Defines if the enums should have an Environment variable: |
boolean |
|
The specified annotations will be added to the generated api files Environment variable: |
string |
|
Add custom/additional HTTP Headers or other args to every request Environment variable: |
string |
|
Defines if the methods should return Environment variable: |
boolean |
|
Defines if security support classes should be generated Environment variable: |
string |
|
Defines the normalizer options. Environment variable: |
Map<String,String> |
|
Enable SmallRye Mutiny support. If you set this to Environment variable: |
boolean |
|
Defines with SmallRye Mutiny enabled if methods should return Environment variable: |
boolean |
|
Handles the return type for each operation, depending on the configuration. The following cases are supported:
Environment variable: |
Map<String,String> |
|
Defines, whether the Environment variable: |
boolean |
|
Defines the filename for a part in case the Environment variable: |
string |
|
Defines, whether the filename should also include the property name in case the Environment variable: |
boolean |
|
Enable bean validation. If you set this to Environment variable: |
boolean |
|
Enable the generation of APIs. If you set this to Environment variable: |
boolean |
|
Enable the generation of models. If you set this to Environment variable: |
boolean |
|
Enable the generation of equals and hashcode in models. If you set this to Environment variable: |
boolean |
|
Add additional properties as attribute. Environment variable: |
string |
|
Initialise collections as empty instead of null Environment variable: |
string |
|
Whether to log the internal generator codegen process in the default output or not. Environment variable: |
boolean |
|
Option to change the directory where OpenAPI files must be found. Environment variable: |
string |
|
Option to change the directory where template files must be found. Environment variable: |
string |
|
Whether or not to skip validating the input spec prior to generation. By default, invalid specifications will result in an error. Environment variable: |
boolean |
|
Option to specify files for which generation should be executed only Environment variable: |
string |
|
Option to exclude file from generation Environment variable: |
string |
|
Create security for the referenced security scheme Environment variable: |
string |
|
Whether to skip the generation of models for form parameters Environment variable: |
boolean |
|
Type Mapping is an OpenAPI Generator configuration specifying which Java types (the values) should be used for a given OAS datatype (the keys of this map) Environment variable: |
Map<String,String> |
|
Import Mapping is an OpenAPI Generator configuration specifying which Java types (the values) should be imported when a given OAS datatype (the keys of this map) is used Environment variable: |
Map<String,String> |
|
Schema Mapping is an OpenAPI Generator configuration specifying which Java types (the values) should be imported when a given schema type (the keys of this map) is used Environment variable: |
Map<String,String> |
|
The specified annotations will be added to the generated model files Environment variable: |
string |
|
Defines if the enums should have an Environment variable: |
boolean |
|
The specified annotations will be added to the generated api files Environment variable: |
string |
|
Add custom/additional HTTP Headers or other args to every request Environment variable: |
string |
|
Defines if the methods should return Environment variable: |
boolean |
|
Defines if security support classes should be generated Environment variable: |
string |
|
Defines the normalizer options. Environment variable: |
Map<String,String> |
|
Enable SmallRye Mutiny support. If you set this to Environment variable: |
boolean |
|
Defines with SmallRye Mutiny enabled if methods should return Environment variable: |
boolean |
|
Handles the return type for each operation, depending on the configuration. The following cases are supported:
Environment variable: |
Map<String,String> |
|
Defines, whether the Environment variable: |
boolean |
|
Defines the filename for a part in case the Environment variable: |
string |
|
Defines, whether the filename should also include the property name in case the Environment variable: |
boolean |
|
Enable bean validation. If you set this to Environment variable: |
boolean |
|
Enable the generation of APIs. If you set this to Environment variable: |
boolean |
|
Enable the generation of models. If you set this to Environment variable: |
boolean |
|
Enable the generation of equals and hashcode in models. If you set this to Environment variable: |
boolean |
|
Add additional properties as attribute. Environment variable: |
string |
|
Initialise collections as empty instead of null Environment variable: |
string |
|
Base package for where the generated code for the given OpenAPI specification will be added. Environment variable: |
string |
|
Custom config key to use in place of the openapi spec file Environment variable: |
string |
|
Suffix name for generated api classes Environment variable: |
string |
|
Suffix name for generated model classes Environment variable: |
string |
|
Prefix name for generated model classes Environment variable: |
string |
|
Remove operation id prefix Environment variable: |
boolean |
|
Remove operation id prefix Environment variable: |
string |
|
Remove operation id prefix Environment variable: |
int |
|
Set serializable model Environment variable: |
boolean |
|
Whether to enable Dynamic URLs on APIs methods. By enabling this property every method on Environment variable: |
boolean |
|
Enables the authentication token propagation for this particular securityScheme. For example, given a file named petstore.json with a securityScheme named "petstore-auth" the following configuration must be used. quarkus.openapi-generator.petstore_json.auth.petstore_auth.token-propagation=true Environment variable: |
boolean |
|
Configures a particular http header attribute from were to take the security token from when the token propagation is enabled. Use this fine-grained configuration in very particular scenarios. For example, given a file named petstore.json with a securityScheme named "petstore-auth" the following configuration must be used. quarkus.openapi-generator.petstore_json.auth.petstore_auth.header-name=MyParticularHttpHeaderName Environment variable: |
string |
|
Sets the Basic Authentication username for a given OpenAPI securityScheme. For example, given a file named petstore.json with a securityScheme named "petstore-basic-auth", that is of http basic authentication type, the following configuration can establish the user to be used. quarkus.openapi-generator.petstore_json.auth.petstore_basic_auth.username=MyUserName Environment variable: |
string |
|
Sets the Basic Authentication password for a given OpenAPI securityScheme. For example, given a file named petstore.json with a securityScheme named "petstore-basic-auth", that is of http basic authentication type, the following configuration can establish the password to be used. quarkus.openapi-generator.petstore_json.auth.petstore_basic_auth.password=MyPassword Ignored if the given securityScheme is not Basic Authentication Environment variable: |
string |
|
Sets the Bearer Token for a given OpenAPI securityScheme. For example, given a file named petstore.json with a securityScheme named "petstore-bearer-auth", that is of bearer authentication type, the following configuration can establish the token to be used. quarkus.openapi-generator.petstore_json.auth.petstore_bearer_auth.token=1234567890 Ignored if the given securityScheme is not Bearer Token Authentication Environment variable: |
string |
|
Sets the API Key for a given OpenAPI securityScheme. For example, given a file named petstore.json with a securityScheme named "petstore-apikey-auth", that is of API Key authentication type, the following configuration can establish the API Key to be used. quarkus.openapi-generator.petstore_json.auth.petstore_apikey_auth.api-key=${MY_SECRET_KEY_IN_AN_ENV_VAR} Ignored if the given securityScheme is not API Key Authentication Environment variable: |
string |
|
Only valid for API Key Authentication. When to add the For example, if this property is set to [source] --- Authentication: Authorization MY-API-KEY --- If set to [source] --- Authentication: MY-API-KEY --- Environment variable: |
boolean |