Commit Graph

43 Commits

Author SHA1 Message Date
guohua.lu 81f1454b91 fix required 2022-05-16 14:47:19 +08:00
sky 2c432b7577 fix response return field array type describe 2022-05-16 10:28:07 +08:00
guohua.lu 50d8192ea3 fix typo; today order add status example 2022-05-16 10:27:46 +08:00
Joe 737b858870 change domains to .longbridgeapp.com 2022-05-13 16:23:07 +08:00
guohua.lu 17b13eeffe fix status description 2022-05-12 18:29:20 +08:00
guohua.lu 44f8224625 fix example 2022-05-12 16:01:19 +08:00
sky edf6da7f32 fix http return code and example param 2022-05-11 19:11:42 +08:00
LuGHuaaa 5ab13b6810 Fix history_orders_rsp, description (#114)
* fix history_orders_rsp

* fix description

* fix typo

* fix typo

* fix typo

* Update submit.yml

* Update today_orders.yml

* Update submit.yml

* Update history_orders.yml

Co-authored-by: guohua.lu <guohua.lu@longbridge.sg>
Co-authored-by: Jason Lee <huacnlee@gmail.com>
2022-05-10 16:03:25 +08:00
guohua.lu 991dfd8d82 rollback replace, withdraw method 2022-05-10 10:58:39 +08:00
LuGHuaaa 6070dd00b4 Change deal => execution; optr replace, withdraw method; optr example; optr replace, withdraw response (#112) 2022-05-10 10:12:47 +08:00
sky b4964c3ea7 add example param demo in zh-CN and zh-HK 2022-05-09 14:02:27 +08:00
sky 08baa46a5b 修改参数描述的信息 2022-05-09 12:02:44 +08:00
sky-lft 78d4f67b53 修改 cashInfos 字段在文档中的介绍 (#97)
Co-authored-by: sky <futao.li@longbridge.sg>
2022-05-08 23:16:07 +08:00
sky-lft 6d79311311 Asset/code example (#96) 2022-05-08 01:08:13 +08:00
Jason Lee 90c2eab7b9 统一 API Host 用 https://openapi.longbridge.global 2022-05-07 22:01:41 +08:00
sky-lft 4db2279dcb Asset/i18n new (#86)
* [mod] 资产英文翻译和繁体翻译

* [mod] 翻译返回示例的语言

* [mod] 接口描述改成The API开头

* [mod] 根据review修改部分翻译

Co-authored-by: sky <futao.li@longbridge.sg>
2022-05-07 17:10:35 +08:00
mixbo 84b5136ce9 Move swagger doc default locale to zh-CN dir (#82) 2022-05-06 21:38:56 +08:00
LuGHuaaa 2c1600b195 Add Order en / zh-HK (#80)
Co-authored-by: guohua.lu <guohua.lu@longbridge.sg>
2022-05-06 18:18:49 +08:00
Jason Lee 422935987c AutoCorrect fix word spell 2022-05-06 17:46:06 +08:00
ihavecoke 7848c99ea4 Swagger 文档支持动态生成多语言文件 2022-05-04 18:34:51 +08:00
LuGHuaaa c18ee0b5b0 Fix typo (#62)
* fix typo

* fix response message

Co-authored-by: guohua.lu <guohua.lu@longbridge.sg>
2022-04-29 16:35:46 +08:00
Joe 7db956fefa remote /trade in assets api 2022-04-29 15:29:45 +08:00
LuGHuaaa dbda4a677a Fix Python example (#61)
Co-authored-by: guohua.lu <guohua.lu@longbridge.sg>
2022-04-29 14:59:26 +08:00
Jason Lee fb9164b85a Fix typo 2022-04-29 14:15:20 +08:00
sky 5187b68dd6 [mod] 修改头文件 2022-04-29 12:48:48 +08:00
LuGHuaaa 29683ba1da Fix description, title, ref, order (#47)
* order swagger doc
* optr order swagger
* sort, add url
* fix orders => order
* fix description, title, ref

Co-authored-by: guohua.lu <guohua.lu@longbridge.sg>
Co-authored-by: Jason Lee <huacnlee@gmail.com>
2022-04-29 10:14:19 +08:00
sky-lft 7f25f8792c 重新修改文档 (#50) 2022-04-29 10:10:47 +08:00
Joe d8bb1209f8 remove outdate api document 2022-04-28 22:59:02 +08:00
Joe 3d9e3f3589 fix get account api path in example block 2022-04-28 22:49:14 +08:00
Joe 6172261fc0 correct account api path 2022-04-28 22:48:11 +08:00
Joe 7178d90ff2 remove prefix "/openapi" 2022-04-28 22:46:18 +08:00
Jason Lee 5855962a94 统一名词,App Key, App Secret, Access Token (#37) 2022-04-28 20:32:25 +08:00
LuGHuaaa 1750ed374c Rewrite order docs as Swagger doc (#32)
* order swagger doc

* optr order swagger

* sort, add url

* fix

* fix orders => order

Co-authored-by: guohua.lu <guohua.lu@longbridge.sg>
2022-04-28 20:11:52 +08:00
sky-lft fca22d912b 将资产文档改成 Swagger 格式 #30 2022-04-28 16:14:04 +08:00
Jason Lee 58d780ba0c 调整 HTTP API 的文档结构 2022-04-28 11:15:29 +08:00
sky-lft 51205f57bc [mod] 将资产文档改成swagger格式 (#27)
* [mod] 将资产文档改成swagger格式

* [mod] 将资产文档根据PR意见进行修改

Co-authored-by: sky <futao.li@longbridge.sg>
2022-04-27 20:14:57 +08:00
Jason Lee f83a06ba5d Revert "支持定义显示 Schema 名字"
This reverts commit 10b3e7bfba.
2022-04-27 11:36:54 +08:00
ihavecoke 10b3e7bfba 支持定义显示 Schema 名字 2022-04-27 11:12:48 +08:00
Jason Lee 67b054ea22 完成所有行情文档的格式排版调整。 2022-04-27 10:47:32 +08:00
Jason Lee fe909f7911 调整 Swagger 自动生成的 Markdown 文件 Git ignore,只在发布的时候走 CI build 2022-04-25 19:30:26 +08:00
Jason Lee 4b2e0af9fa Swagger 模版调整,构建比较完整的例子 2022-04-25 18:31:31 +08:00
ihavecoke f54554638c Add more docs 2022-04-25 14:51:46 +08:00
ihavecoke c1372fa926 Add script to watch swagger config convert to markdown 2022-04-25 14:51:46 +08:00