Open OnkelTem opened 2 months ago
Trying 13.0.21: same error.
More detailed trace back:
main (yarn): no error
13.0.22 (yarn): [error] TypeError: Cannot read properties of undefined (reading 'split')
13.0.21 (yarn): [error] TypeError: Cannot read properties of undefined (reading 'split')
13.0.20 (yarn): [error] TypeError: e.values(...).some is not a function
13.0.19 (yarn): [error] TypeError: e.values(...).some is not a function
13.0.18 (yarn): [error] TypeError: u.merge is not a function
13.0.17 (yarn): [error] TypeError: u.merge is not a function
13.0.16 (pnpm): no error
Code used for testing:
async generate() {
const { files } = await generateApi({
output: false,
input: this.specLocalPath,
moduleNameFirstTag: true,
moduleNameIndex: 1,
})
// ...
}
Swagger used for testing: petstore.yaml
So the most recent working version is 13.0.16
The latest version (13.0.22) seems to be broken. For any swagger-spec I tried I always receive:
Which version we can use?