You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/generators/kotlin-misk.md
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,12 @@ These options may be applied as additional-properties (cli) or configOptions (pl
18
18
19
19
| Option | Description | Values | Default |
20
20
| ------ | ----------- | ------ | ------- |
21
+
|actionAnnotations|String Annotations for Actions separated by a semicolon(;)||@LogRequestResponse(bodySampling = 1.0, errorBodySampling = 1.0)|
22
+
|actionImports|String Imports for Actions separated by a semicolon(;)||misk.web.actions.WebAction;misk.web.interceptors.LogRequestResponse|
23
+
|actionParentClass|Parent Class for Action||WebAction|
21
24
|actionPathPrefix|Prefix for action path|||
25
+
|actionRequestContentType|Request ContentType for Action||@RequestContentType|
26
+
|actionRequestContentTypePrefix|Request ContentType Prefix for Action||MediaTypes|
22
27
|addModelMoshiJsonAnnotation|Add a Moshi JSON adapter annotation to all model classes||true|
23
28
|additionalModelTypeAnnotations|Additional annotations for model type(class level annotations). List separated by semicolon(;) or new line (Linux or Windows)||null|
24
29
|apiSuffix|suffix for api classes||Api|
@@ -35,6 +40,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
35
40
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.||null|
36
41
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.||null|
37
42
|sourceFolder|source folder for generated code||src/main/kotlin|
Copy file name to clipboardExpand all lines: modules/openapi-generator/src/test/java/org/openapitools/codegen/kotlin/misk/KotlinMiskServerCodegenOptionsTest.java
Copy file name to clipboardExpand all lines: modules/openapi-generator/src/test/java/org/openapitools/codegen/options/KotlinMiskServerCodegenOptionsProvider.java
+14-2Lines changed: 14 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,13 @@ public class KotlinMiskServerCodegenOptionsProvider implements OptionsProvider {
0 commit comments