We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab10b35 commit d163862Copy full SHA for d163862
1 file changed
src/main/kotlin/io/openapiprocessor/json/processor/JsonProcessor.kt
@@ -38,13 +38,13 @@ class JsonProcessor : OpenApiProcessor
38
* @param options map of processor properties
39
*/
40
override fun run(options: MutableMap<String, *>) {
41
- var apiPath: String? = options["apiPath"]?.toString()
+ val apiPath: String? = options["apiPath"]?.toString()
42
if (apiPath == null) {
43
println("openapi-processor-json: missing apiPath!")
44
return
45
}
46
47
- var targetDir: String? = options["targetDir"]?.toString()
+ val targetDir: String? = options["targetDir"]?.toString()
48
if (targetDir == null) {
49
println("openapi-processor-json: missing targetDir!")
50
0 commit comments