Skip to content

GET vs POST swagger.json #3501

Closed
Closed
@flyinprogrammer

Description

@flyinprogrammer

Was this file generated?

"get": {

It seems this is using that json file:
https://try.gitea.io/api/swagger#/

But then what's going on between these three methods?
https://github.com/go-gitea/gitea/blob/master/routers/api/v1/repo/release.go#L16
https://github.com/go-gitea/gitea/blob/master/routers/api/v1/repo/release.go#L59
https://github.com/go-gitea/gitea/blob/master/routers/api/v1/repo/release.go#L99

And why is the swagger json wrong?
I'm happy to submit a patch - I just wasn't quite sure what was going on!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions