Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

汇总状态码返回与文档不符合的接口 #36

Open
shiguiyang opened this issue May 18, 2017 · 4 comments
Open

汇总状态码返回与文档不符合的接口 #36

shiguiyang opened this issue May 18, 2017 · 4 comments

Comments

@shiguiyang
Copy link

1.创建工作流接口(文档返回201 实际返回200)

@shiguiyang
Copy link
Author

此issue不关闭,陆续添加。
如果某一接口状态码已修改,请添加相应的备注

@shiguiyang
Copy link
Author

执行工作流(文档返回200 实际返回201)

@caojingwei
Copy link
Contributor

caojingwei commented Jun 6, 2017

执行工作流 这里应该返回就是201,所有的post请求返回都是201,请参考https://github.com/baifendian/swordfish/wiki
API返回码定义栏目,所有返回码遵守一下规则,特殊说明除外。

@shiguiyang
Copy link
Author

建议:删除数据源接口(实际:返回状态码200,文档:返回状态码204)
新增数据源接口(参数错误时没有返回信息) #33
建议:新增数据源接口(返回状态码与文档不符 预计返回201 实际返回200) #31
建议:删除资源接口(返回状态码200 文档:204 No Content)
建议:资源拷贝接口返回200(文档:返回结果201) #27

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

No branches or pull requests

2 participants