DM openapi调用错误

按照官方文档调用接口报错如下
cat test.sh
curl -X ‘POST’
http://192.168.85.30:8261/api/v1/sources
-H ‘accept: application/json’
-H ‘Content-Type: application/json’
-d ‘{
“source_name”: “mysqlmigrate”,
“host”: “192.168.100.17”,
“port”: 3306,
“user”: “otter”,
“password”: “otter”,
“enable”: true,
“enable_gtid”: false,
“security”: {
“ssl_ca_content”: “”,
“ssl_cert_content”: “”,
“ssl_key_content”: “”,
“cert_allowed_cn”: [
“string”
]
},
“purge”: {
“interval”: 3600,
“expires”: 0,
“remain_space”: 15
}
}’
[admin@mysql-dm]$ sh test.sh
{“error”:“error in openapi3filter.RequestError: request body has an error: doesn’t match the schema: Error at “/source”: property “source” is missing”}[admin@mysql dm]$

抱歉,文档是错误的,少了一层 “source”。正确的参见

https://github.com/pingcap/tiflow/blob/dee80eee9e0dc519053836814981771ef4d05fca/dm/tests/openapi/client/openapi_source_check#L26-L41

可以帮我们改一下文档吗,在您切换到 dev 版本的文档后,右上角会多出来一个“修改本文”