Skip to content
This repository was archived by the owner on Jun 8, 2019. It is now read-only.

Struct changes to satisfy #3789 #160

Merged
merged 4 commits into from
Apr 19, 2019
Merged

Struct changes to satisfy #3789 #160

merged 4 commits into from
Apr 19, 2019

Conversation

techknowlogick
Copy link
Member

@slonopotamus
Copy link

This has caused issues downstream: git-as-svn/git-as-svn#244.

The problem: it is now impossible to generate Swagger client that can both talk to Gitea versions before and after this commit.

Suggestion: return back sha1 field, mark it as deprecated or whatever (I don't have much knowledge of Swagger), so API users can programmatically decide what field (sha1 or token) to use depending on presence of data in them.

@techknowlogick techknowlogick deleted the fix-3789 branch May 9, 2019 20:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants