zerotier / zerotier-one-api-spec

ZeroTier
https://zerotier.com
3 stars 0 forks source link

Build error when generating typescript-axios #15

Open JohnGuan opened 2 weeks ago

JohnGuan commented 2 weeks ago

Recorded here for now.

Current guess is that it's an issue with several type enumerations in JoinedNetwork. Probably creating the appropriate Scheme will fix it. Or maybe a generator error? (Unlikely).

Details: https://github.com/JohnGuan/zerotier-one-api-client/actions/runs/11702245296/job/32590054086#step:7:21

Error: api.ts(698,25): error TS2314: Generic type 'Array<T>' requires 1 type argument(s).
Error: api.ts(770,15): error TS2304: Cannot find name 'JoinedNetworkStatusEnum'.
Error: api.ts(776,13): error TS2304: Cannot find name 'JoinedNetworkTypeEnum'.

I'll do some validation later and maybe submit a pr if it's welcome.

laduke commented 2 weeks ago

not sure. the other generators i've used have succeeded.