mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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:
@@ -246,7 +246,7 @@ type DeleteTokenParams struct {
|
||||
// swagger:response listTokensResponse
|
||||
type ListTokensResponse struct {
|
||||
// in:body
|
||||
Body *TokenDTO
|
||||
Body []TokenDTO
|
||||
}
|
||||
|
||||
// swagger:response createTokenResponse
|
||||
|
||||
Reference in New Issue
Block a user