chore: replace `APPLICATION_JSON` with `TEXT_PLAIN` in dynamic create graph api by simon824 · Pull Request #1888 · apache/hugegraph

@simon824

The format of the graph instance config is text instead of json
image

@simon824

@codecov

@imbajin

@wangyao2016 could u take a look for it & check if we need update for other api?

javeme

@wangyao2016

@wangyao2016 could u take a look for it?

Sure. IMO both Json and text are fine , PropertiesConfiguration supports parsing two formats. But text is better.

Or we can support both, just remove the limit of @Consumes(APPLICATION_JSON_WITH_CHARSET).

seagle-yuan

@imbajin

@wangyao2016 could u take a look for it?

Sure. IMO both Json and text are fine , PropertiesConfiguration supports parsing two formats. But text is better.

Or we can support both, just remove the limit of @Consumes(APPLICATION_JSON_WITH_CHARSET).

could enhance it together next time

imbajin