3
0

Added description to gateway route

This commit is contained in:
Peter Grlica
2023-01-09 12:04:19 +01:00
parent 6c423084b3
commit 352865b4fb
2 changed files with 6 additions and 3 deletions

View File

@@ -112,6 +112,7 @@ func (ctrl *ApigwRoute) Update(ctx context.Context, r *request.ApigwRouteUpdate)
Method: r.Method,
Group: r.Group,
Enabled: r.Enabled,
Meta: r.Meta,
}
)

View File

@@ -3,9 +3,10 @@ package types
import (
"database/sql/driver"
"encoding/json"
"github.com/cortezaproject/corteza/server/pkg/sql"
"time"
"github.com/cortezaproject/corteza/server/pkg/sql"
"github.com/cortezaproject/corteza/server/pkg/filter"
)
@@ -27,8 +28,9 @@ type (
}
ApigwRouteMeta struct {
Debug bool `json:"debug"`
Async bool `json:"async"`
Debug bool `json:"debug"`
Async bool `json:"async"`
Desc string `json:"description"`
}
ApigwRouteFilter struct {