Skip to content

Comments

fix: bad request body simple in propertykey.md#134

Closed
wangyao2016 wants to merge 1 commit intoapache:masterfrom
wangyao2016:fix-propertykey-body
Closed

fix: bad request body simple in propertykey.md#134
wangyao2016 wants to merge 1 commit intoapache:masterfrom
wangyao2016:fix-propertykey-body

Conversation

@wangyao2016
Copy link
Contributor

@wangyao2016 wangyao2016 commented May 12, 2022

An error will be reported according to the original document, like:

Unrecognized field "property_key" (class com.baidu.hugegraph.api.schema.PropertyKeyAPI$JsonPropertyKey), not marked as ignorable (9 known properties: "check_exist", "properties", "aggregate_type", "id", "cardinality", "data_type", "name", "user_data", "write_type"])
 at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 2, column: 23] (through reference chain: com.baidu.hugegraph.api.schema.PropertyKeyAPI$JsonPropertyKey["property_key"])

image

@wangyao2016 wangyao2016 changed the title fix: wrong request body simple in propertykey.md fix: bad request body simple in propertykey.md May 12, 2022
@imbajin
Copy link
Member

imbajin commented May 12, 2022

thanks for your contribution, could u submit it based on website branch? current master will not be used soon

image

u could refer the README in website & correct it in both EN & CN files

@wangyao2016
Copy link
Contributor Author

website

Got it, please see this pr 135, thanks for help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants