Skip to content

Incorrect swagger response docs for delete secret endpoint #2118

@lonix1

Description

@lonix1

Component

other

Describe the bug

The swagger docs for endpoint /swagger/index.html#/Secrets/delete_secrets__secret_ show that a successful response is 200, but I actually receive 204.

System Info

1.0.0
docker

Additional context

PS: it might be a good idea to add a "docs" item to the "Component" dropdown in this issue report? Or maybe a separate github issue template for "docs". Just a small idea for better categorisation.

Validations

  • Read the Contributing Guidelines.
  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Checked that the bug isn't fixed in the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]
  • Check that this is a concrete bug. For Q&A join our Discord Chat Server or the Matrix room.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationdocu & docs

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions