827 B
827 B
Gitea SDK
A few things don't come out exactly correctly directly from code-gen
- api_user.go has a duplicate
CreateCurrentUserRepoOpts
near the top, simply remove it. - api_repository.go has a broken func signature. In
RepoCreateReleaseAttachment
, replaceattachment
withlocalVarFile
and remove wherelocalVarFile
is initialized in the body.- This should be fixed in
2.4.12
- This should be fixed in
- api_miscellaneous is missing an import statement for
github.com/antihax/optional
Usage
The master
branch will try to keep up-to-date with Gitea master
, with no release tags.
go get gitea.com/jolheiser/gitea-sdk@master
Otherwise, you can get the SDK by selecting the version of Gitea you are using
go get gitea.com/jolheiser/gitea-sdk@1.10.3