Closed
Description
Description
The problem experienced due to some uncertainties and deficiencies in the documentation is as follows.
The unit_map field in the Team model defined in Gitea is shown as an string, but the response returns as an object. There is also no model related to the units_map field. Also, as an example in the documentation description, text starts with a object sign '{' and ends with a array sign ']'.
Please see refer to the definition and example of the unit_map field in Team model introduction in documentation at this link.
Gitea Version
1.17.2 and (for doc try.gitea.io - 1.18.0+dev-478-g08609d439)
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
Git Version
2.37.1
Operating System
Windows Server 2022
How are you running Gitea?
Gitea version 1.17.2 executable on Windows Server 2022.
Database
MySQL