Skip to content

"Team.units_map" field is an object, not an string array! #21307

Closed
@ozgurceozturkce

Description

@ozgurceozturkce

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

resim

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detail

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions