apigear-io / cli

The ApiGear client as go project
https://apigear.io
MIT License
1 stars 2 forks source link

fix void handling #15

Closed jryannel closed 2 years ago

jryannel commented 2 years ago

An empty type should be a void type. A void type should return void if the lang supports it or "" (empty string) otherwise.

jryannel commented 2 years ago

In general a valid void type the absence of a typed symbol (e.g. no return) or and empty type (type: '') or any type with void (type: 'void').