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:
@@ -48,7 +48,7 @@ func NewPolicyInfo(ctx *middleware.Context, handler PolicyInfoHandler) *PolicyIn
|
||||
return &PolicyInfo{Context: ctx, Handler: handler}
|
||||
}
|
||||
|
||||
/*PolicyInfo swagger:route GET /policies/{name} AdminAPI policyInfo
|
||||
/*PolicyInfo swagger:route GET /policy AdminAPI policyInfo
|
||||
|
||||
Policy info
|
||||
|
||||
|
||||
Reference in New Issue
Block a user