-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
We’re talking a lot about code gen and I thought it would be good to kick off a chat about it.
So far I’ve successfully generated a postman collection (not really related to this Repo but it was pretty easy). I also unsuccessfully generated a c# client using the ms open api connected service. There is one endpoint with one enum that accepted add, Add, remove, Remove etc. which exploded because you ended up with two enums with the same name, but different values. Doh. So I guess we could ask to change the documentation to only show upper or lower or we find a different tool.
Another thing to consider is extending the generated code with the undocumented endpoints (repos/owner/name is there but repos/id or repository/id aren’t).
Other options could be handlebars or liquid templates to build own own entirely or there must be others out there. I guess we could also consider doctoring the open api json ourselves to make it fit to our need?