mirror of
https://github.com/jlengrand/openapi-generator.git
synced 2026-05-17 08:31:23 +00:00
Java support for application/xml (#5962)
* WIP: CodegenProperty with XML * WIP: CodegenModel XML bits * WIP: Jackson XML * WIP: Java templating * WIP: Java client withXml flag * WIP: resttemplate work * WIP: withXml only when Jackson is used * WIP: Tabs to spaces * WIP: java-petstore-resttemplate-withxml sample * WIP: language: spring * WIP: language "spring" using library "spring-boot" should include apiPackage in @ComponentScan to detect the API * WIP: javax.xml for non-Jackson Java and enabled payload logging for jersey2 * WIP: updated java petstore samples * WIP: JavaSpring with non-jackson XML * WIP: bin/spring-all-pestore.sh
This commit is contained in:
@@ -735,7 +735,7 @@ public class ApiClient {
|
||||
clientConfig.register(json);
|
||||
clientConfig.register(JacksonFeature.class);
|
||||
if (debugging) {
|
||||
clientConfig.register(LoggingFilter.class);
|
||||
clientConfig.register(new LoggingFilter(java.util.logging.Logger.getLogger(LoggingFilter.class.getName()), true));
|
||||
}
|
||||
return ClientBuilder.newClient(clientConfig);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user