Changed policy API to receive name param in query instead or URL (#591)

Co-authored-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
Alex
2021-02-04 17:57:10 -06:00
committed by GitHub
parent 1c6a29bc20
commit ee1a6718d7
10 changed files with 80 additions and 58 deletions

View File

@@ -48,7 +48,7 @@ func NewRemovePolicy(ctx *middleware.Context, handler RemovePolicyHandler) *Remo
return &RemovePolicy{Context: ctx, Handler: handler}
}
/*RemovePolicy swagger:route DELETE /policies/{name} AdminAPI removePolicy
/*RemovePolicy swagger:route DELETE /policy AdminAPI removePolicy
Remove policy