-
Notifications
You must be signed in to change notification settings - Fork 81
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
出了一个莫名的错误,请大佬看看 #42
Labels
enhancement
New feature or request
Comments
@fjc0k ,我们这边有前端工程也出现的类似现象,有没有从源码的方式去修改的,而不是说去改java代码啥的 |
3.4.0 测试正常,请尝试升级下 ytt 版本后看看问题是否还在。 |
@fjc0k ,问题还在,经过调试,是这样的。。 var token = tokens[i];
if (this.value[token] === undefined) {
throw ono.syntax('Error resolving $ref pointer "%s". \nToken "%s" does not exist.', this.originalPath, token);
}
else {
this.value = this.value[token];
} 报错的代码是进到了 token的值是:BaseSchedule this.value的值是: {
properties: {
applyCustId: {
type: 'integer',
format: 'int64',
additionalProperties: false
},
applyCustName: {
type: 'string',
additionalProperties: false
},
belongOrgId: {
type: 'string',
additionalProperties: false
},
commentList: {
type: 'array',
items: [Object],
additionalProperties: false,
minItems: 0
},
content: {
type: 'string',
additionalProperties: false
},
createrDate: {
type: 'string',
format: 'date-time',
additionalProperties: false
},
createrUserId: {
type: 'string',
additionalProperties: false
},
createrUserName: {
type: 'string',
additionalProperties: false
},
custId: {
type: 'integer',
format: 'int64',
additionalProperties: false
},
custName: {
type: 'string',
additionalProperties: false
},
date: {
type: 'string',
format: 'date-time',
additionalProperties: false
},
endDate: {
type: 'string',
format: 'date-time',
additionalProperties: false
},
entityColumns: {
type: 'string',
additionalProperties: false
},
executeUserId: {
type: 'string',
additionalProperties: false
},
groupByField: {
type: 'string',
additionalProperties: false
},
havingByField: {
type: 'string',
additionalProperties: false
},
id: {
type: 'integer',
format: 'int64',
additionalProperties: false
},
leftJoinTable: {
type: 'string',
additionalProperties: false
},
orderByField: {
type: 'string',
additionalProperties: false
},
orgId: {
type: 'string',
additionalProperties: false
},
page: {
type: 'integer',
format: 'int32',
additionalProperties: false
},
pageSize: {
type: 'integer',
format: 'int32',
additionalProperties: false
},
resultCount: {
type: 'integer',
format: 'int64',
additionalProperties: false
},
schedule: {
'$ref': '#/definitions/BaseSchedule',
additionalProperties: false
},
scheduleId: {
type: 'integer',
format: 'int64',
additionalProperties: false
},
startDate: {
type: 'string',
format: 'date-time',
additionalProperties: false
},
title: {
type: 'string',
additionalProperties: false
},
upNullColumnList: {
type: 'array',
items: [Object],
additionalProperties: false,
minItems: 0
},
upNullColumns: {
type: 'string',
additionalProperties: false
},
userIdList: {
type: 'array',
items: [Object],
additionalProperties: false,
minItems: 0
}
},
'$$ref': '#/definitions/BaseWorkRecord',
additionalProperties: false,
required: undefined,
id: 'THISISAFAKETYPENAME'
} 没有找到,所以抛错了。。。想问一下,大概是哪一步有问题了 |
@henryzp 最好能给我一个可重现的 serverUrl,token,categories.id ,可私发我邮箱:fjc0kb#gmail.com |
额,serverUrl是内网的 |
@henryzp 那可以把它的数据导一份出来 发我邮箱 |
已发送 |
@fjc0k ok |
让同事试了一下,没问题了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
用的java to swagger 通过 数据同步 完全覆 进入yapi : https://123.57.61.2:7600/v2/api-docs
yapi:1.9.1
yapi-to-script:3.2.0
The text was updated successfully, but these errors were encountered: