We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f90cef8 commit 829713cCopy full SHA for 829713c
apijson/CodeUtil.js
@@ -839,8 +839,14 @@ var CodeUtil = {
839
if (StringUtil.isEmpty(name)) {
840
switch (key) {
841
case 'tag':
842
+ if (method == 'GET' || method == 'HEAD') {
843
+ return '';
844
+ }
845
return CodeUtil.getType4Request(value) != 'string' ? ' ! value必须是String类型!' : CodeUtil.getComment('请求密钥', false, ' ');
846
case 'version':
847
848
849
850
return CodeUtil.getType4Request(value) != 'number' ? ' ! value必须是Number类型!' : CodeUtil.getComment('版本号', false, ' ');
851
case '@role':
852
try {
0 commit comments