Skip to content

Commit e617757

Browse files
author
andrewwilsonnew
committed
fixing docs
1 parent b8627c4 commit e617757

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/generators/kotlin-misk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/KotlinMiskServerCodegen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)