diff --git a/internal/admin/routes.go b/internal/admin/routes.go index bf8bb44..fc2e117 100644 --- a/internal/admin/routes.go +++ b/internal/admin/routes.go @@ -67,9 +67,11 @@ func (h *AdminHandler) GetApiServices(w http.ResponseWriter, r *http.Request) { type AddServiceRequest struct { Name string `json:"name"` + Description string `json:"description"` RedirectUris []string `json:"redirect_uris"` Scopes []string `json:"scopes"` GrantTypes []string `json:"grant_types"` + IsActive bool `json:"is_active"` } func (h *AdminHandler) AddApiService(w http.ResponseWriter, r *http.Request) {