Skip to content

Update Swagger documentation for REST Api methods #31552

Closed
@lraubuch

Description

@lraubuch

Feature Description

When checking the REST Api documentation I came across the method to add a collaborator to a repository.
In the documentation it said, that the payload body needs to contain a permission value which was expected. Unfortunately there was no documentation of what that string value should be to set the appropriate permissions.
After digging deep into the code I found that the permission can be one of three values.

IMHO this should be documented in the Swagger documentation of the REST Api.

Screenshots

grafik

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/docsThis PR mainly updates/creates documentationtype/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions