This PR is related to #9 and adds a REST-API-VERSION property for each Rest Client (at first I added it to the RestNamespace but that resulted in circular dependencies, maybe another place is better suited?) and adds an appropriate header when doing requests.
Tested this in my own project using githubkit as there are no tests available.
I did not regenerate the classes itself as this would clutter the PR.
This PR is related to #9 and adds a REST-API-VERSION property for each Rest Client (at first I added it to the RestNamespace but that resulted in circular dependencies, maybe another place is better suited?) and adds an appropriate header when doing requests.
Tested this in my own project using githubkit as there are no tests available.
I did not regenerate the classes itself as this would clutter the PR.