From cfc619c654f22b271406e26498a4b8a033188b66 Mon Sep 17 00:00:00 2001 From: Jeppe Vennekilde Date: Thu, 5 Aug 2021 17:13:55 +0200 Subject: [PATCH] Fixed incorrect json representation of ResourceType in PermissionRepresentation ResourceType in PermissionRepresentation should be formatted as lower camel case instead of snake case --- models.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models.go b/models.go index 63e8c66f..0146e8b0 100644 --- a/models.go +++ b/models.go @@ -981,7 +981,7 @@ type PermissionRepresentation struct { Name *string `json:"name,omitempty"` Policies *[]string `json:"policies,omitempty"` Resources *[]string `json:"resources,omitempty"` - ResourceType *string `json:"resource_type,omitempty"` + ResourceType *string `json:"resourceType,omitempty"` Scopes *[]string `json:"scopes,omitempty"` Type *string `json:"type,omitempty"` }