Swagger: Fix listTokensResponse (#78155)

* Swagger: Fix listTokensResponse
It should return a list of Tokens, not a single one
Also regenerated the API spec from the latest changes + this branch

* Remove pointer
This commit is contained in:
Julien Duchesne
2023-11-15 08:59:54 -05:00
committed by GitHub
parent 8057b9298d
commit c551c9e71f
4 changed files with 68 additions and 1021 deletions

View File

@@ -246,7 +246,7 @@ type DeleteTokenParams struct {
// swagger:response listTokensResponse
type ListTokensResponse struct {
// in:body
Body *TokenDTO
Body []TokenDTO
}
// swagger:response createTokenResponse