You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/12/26 16:41:06 UTC

[GitHub] [cloudstack-go] tampler commented on issue #22: Missing API support

tampler commented on issue #22:
URL: https://github.com/apache/cloudstack-go/issues/22#issuecomment-1001210600


   Hello let me summarize the problem :bulb:
   
   1. This GO SDK API is a bit outdated, since I'm getting JSON Unmarshal errors for ACS 4.16.0 like this: ` json: cannot unmarshal object into Go struct field VPC.vpc.network of type string` :x:
   2. All SDK API files are auto generated from templates `layout.go` and `generate.go` :heavy_check_mark:
   3. SDK API generator input is  `listApis.json` :heavy_check_mark:
   4. `listApis.json` is in turn just the output of the `listApis` command, which is the ACS API auto discovery plugin as per [this](https://cloudstack.apache.org/api/apidocs-4.16/apis/listApis.html) :heavy_check_mark: 
   5. Currently, API auto generator is broken :x: giving me this :raised_eyebrow: :
   ```bash
   go run generate/generate.go generate/layout.go --api=generate/listApis.json
   2021/12/26 19:25:22 1 API(s) failed to generate:
   2021/12/26 19:25:22 GoImport failed to format:
   exit status 1
   ```
   
   Thus need to fix the generator to regenerate the SDK APIs


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org