File tree Expand file tree Collapse file tree
modules/openapi-generator/src/main/java/org/openapitools/codegen/languages Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
4040| sortModelPropertiesByRequiredFlag| Sort model properties to place required parameters before optional parameters.| | null|
4141| sortParamsByRequiredFlag| Sort method arguments to place required parameters before optional parameters.| | null|
4242| sourceFolder| source folder for generated code| | src/main/kotlin|
43- | testingModule| Testing module class| | OpenApiModule |
43+ | testingModule| Testing module class| | misk.testing.MiskTestModule |
4444| useBeanValidation| Use BeanValidation API annotations to validate data types| | true|
4545
4646## IMPORT MAPPING
Original file line number Diff line number Diff line change @@ -188,7 +188,6 @@ public void processOpts() {
188188
189189 convertPropertyToTypeAndWriteBack (ACTION_ANNOTATIONS ,
190190 it -> Arrays .asList (it .split (";" )), this ::setActionAnnotations );
191-
192191 convertPropertyToTypeAndWriteBack (ACTION_IMPORTS ,
193192 it -> Arrays .asList (it .split (";" )), this ::setActionImports );
194193
@@ -199,6 +198,7 @@ public void processOpts() {
199198 convertPropertyToStringAndWriteBack (ACTION_REQUEST_CONTENT_TYPE_PREFIX , this ::setActionRequestContentTypePrefix );
200199 convertPropertyToStringAndWriteBack (TESTING_MODULE , this ::setTestingModule );
201200 writePropertyBack (TESTING_MODULE_NAME , getTestingModuleName ());
201+
202202 convertPropertyToBooleanAndWriteBack (USE_BEANVALIDATION , this ::setUseBeanValidation );
203203 convertPropertyToBooleanAndWriteBack (GENERATE_STUB_IMPL_CLASSES , this ::setGenerateStubImplClasses );
204204 convertPropertyToBooleanAndWriteBack (ADD_MODEL_MOSHI_JSON_ANNOTATION , this ::setAddModelMoshiJsonAnnotation );
You can’t perform that action at this time.
0 commit comments