Thanks for the great tool! I tried generating a Fitbit client based on https://dev.fitbit.com/build/reference/web-api/explore/fitbit-web-api-sw..., but it failed, because parameter names have "-" characters, and these cannot be part of a Property name. Therefore I extended the name() Class method to also have the "-":
go to post
Thanks @Lorenzo Scalese!
go to post
Hi @Lorenzo,
Thanks for the great tool! I tried generating a Fitbit client based on https://dev.fitbit.com/build/reference/web-api/explore/fitbit-web-api-sw..., but it failed, because parameter names have "-" characters, and these cannot be part of a Property name. Therefore I extended the name() Class method to also have the "-":
ClassMethod name(name As %String) As %String [ CodeMode = expression ] { $Translate(name, "$_-","") }
The proxy generation still fails, and given that I don't use that right now, I have disabled that. With these changes everything works great!