Skip to content

Commit 99b4ef6

Browse files
committed
Update jsonschema2pojo-maven-plugin
1 parent d6c58a5 commit 99b4ef6

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
<sourceDirectory>${basedir}/src/main/resources/schema</sourceDirectory>
6868
<outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
6969
<targetPackage>org.mule.extension.jsonlogger.api.pojos</targetPackage>
70-
<useCommonsLang3>true</useCommonsLang3>
70+
<usePrimitives>true</usePrimitives>
7171
</configuration>
7272
<executions>
7373
<execution>

src/main/resources/schema/loggerConfig.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
"properties": {
4343
"prettyPrint": {
4444
"type": "boolean",
45-
"javaType": "boolean",
4645
"sdk": {
4746
"summary": "Indicate if log entries should be formatted or single line",
4847
"default": true,
@@ -52,7 +51,6 @@
5251
},
5352
"logLocationInfo": {
5453
"type": "boolean",
55-
"javaType": "boolean",
5654
"sdk": {
5755
"summary": "Indicate if location information should be logged",
5856
"default": true,
@@ -62,7 +60,6 @@
6260
},
6361
"parseContentFieldsInJsonOutput": {
6462
"type": "boolean",
65-
"javaType": "boolean",
6663
"sdk": {
6764
"summary": "Indicate if Content fields should be parsed as part of the JSON logger output",
6865
"default": true,
@@ -97,4 +94,4 @@
9794
}
9895
}
9996
}
100-
}
97+
}

src/main/resources/schema/loggerProcessor.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"content": {
2424
"type": "string",
25-
"javaType": "org.mule.runtime.extension.api.runtime.parameter.ParameterResolver<org.mule.runtime.api.metadata.TypedValue<java.io.InputStream>>",
25+
"existingJavaType": "org.mule.runtime.extension.api.runtime.parameter.ParameterResolver<org.mule.runtime.api.metadata.TypedValue<java.io.InputStream>>",
2626
"sdk": {
2727
"default": "#[import modules::JSONLoggerModule output application/json ---\n{\n payload: JSONLoggerModule::stringifyNonJSON(payload) \n}]",
2828
"summary": "NOTE: Writing the entire payload every time across your application can cause serious performance issues",
@@ -73,4 +73,4 @@
7373
"note": "This field is mandatory. DON'T REMOVE"
7474
}
7575
}
76-
}
76+
}

src/main/resources/schema/loggerScopeProcessor.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
}
1818
}
1919
}
20-
}
20+
}

0 commit comments

Comments
 (0)