Hisoka-X commented on code in PR #5939:
URL: https://github.com/apache/seatunnel/pull/5939#discussion_r1411532160
##########
seatunnel-connectors-v2/connector-http/connector-http-base/src/main/java/org/apache/seatunnel/connectors/seatunnel/http/config/HttpConfig.java:
##########
@@ -67,7 +67,7 @@ public class HttpConfig {
public static final Option<ResponseFormat> FORMAT =
Options.key("format")
.enumType(ResponseFormat.class)
- .defaultValue(ResponseFormat.JSON)
+ .noDefaultValue()
Review Comment:
oh I see. How about add new ResponseFormat `TEXT`? Then set it as default
value. It used when no schema config. Also please update the doc. Thanks
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]