Skip to content

Add swagger validate to drone run #4088

Closed
@stevegt

Description

@stevegt

Once we get the swagger validation errors cleaned up in #4010, we'll want to add a test case to keep them that way:

swagger validate public/swagger.v1.json

Background: Various swagger clients try to validate at startup; when validation breaks, the clients break. In my own case, we need working clients to be able to migrate to gitea from legacy systems, and we'll continue to need them for daily ops after that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/buildPR changes how Gitea is built, i.e. regarding Docker or the Makefiletype/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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions