Telmate / proxmox-api-go

Consume the proxmox API in golang
MIT License
370 stars 234 forks source link

Autogeneration #296

Open FreekingDean opened 8 months ago

FreekingDean commented 8 months ago

Hey there! Just wanted to bring up the idea of an autogenerated API client, I have used this repo as a base and done some playing around to generate the full API with structure. I run into some slight hiccups here & there (you can see from my last two commits) due to Proxmox's idea of a jsonschema not really being the best implementation of one, nor is the API. But it generally works pretty well.

Would be happy to find a way to contribute this back up to this repository, though it may be a somewhat breaking change as the API would change to better conform to Proxmox's API.

https://pkg.go.dev/github.com/FreekingDean/proxmox-api-go https://github.com/FreekingDean/proxmox-api-go

mleone87 commented 8 months ago

thanks @FreekingDean , looks promising!