Replies: 2 comments
-
When I update the source code as follows I can generate the response types now. As I see currently the lib doesn't support the external refs. 1-) swagger.js --> line 65 --> I added
2-) After that there was an error due to a url issue in 'oas-resolver' package. At the execution of index.js -> resolveExternal function I changed below lines to |
Beta Was this translation helpful? Give feedback.
-
Hey, thanks for this - it still works! |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm trying to generate ts-axios client for the strava api but can't generate the response models correctly. All response types are just 'any' or 'any[]'. I'm using the script below to generate client.
I also realized that the Strava uses http links for schema definitions. Is this can be cause of the problem?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions