Skip to content

/api/v1/users/search does not return a UserList  #4841

@zeripath

Description

@zeripath
  • Gitea version (or commit ref): master
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant

Description

/api/v1/users/search does not return a UserList but rather an entity similar to the SearchResults that is returned from /api/v1/repos/search

This is broken in the SDK and swagger.v1.json and has been for at least 10 months.

There are two options:

  1. Change the API code to match the Swagger signature - means that the SDK doesn't need to change but will continue to be broken on old gitea installations.
  2. Change the Swagger/SDK signature to match the API code - means that any new SDK will work with old versions of the API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions