MSP-5013 make description optional

This commit is contained in:
komissarovyv committed 2025-03-19 18:32:09 +03:00
1 parent a9d4b96305
commit f63bf4a9f1
5 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ require (
github.com/mattn/go-sqlite3 v1.14.24
github.com/pkg/errors v0.9.1
github.com/pressly/goose/v3 v3.24.1
github.com/txix-open/isp-kit v1.44.1
github.com/txix-open/isp-kit v1.45.0
isp-config-service v0.0.0-00010101000000-000000000000
)
+2 -2
View File
@@ -143,8 +143,8 @@ github.com/txix-open/bellows v1.2.0 h1:CXv8nQaZtB/micraeRilYyj/gtfv+bqBgP5aPYQgj
github.com/txix-open/bellows v1.2.0/go.mod h1:qbKCy+RTgD30Qpw1fyb3y3jp5Y9mGhLLxgae1l0W92o=
github.com/txix-open/etp/v4 v4.0.1 h1:5VSYgGsvnMz0tvUHsjVWFETI0qWBTCF1O3ARCHaCIgA=
github.com/txix-open/etp/v4 v4.0.1/go.mod h1:FIu7TUDdwcgmtmF6tFTV1bGA2fRY/iVaPQdsGzvqYc8=
github.com/txix-open/isp-kit v1.44.1 h1:PCQ9O0aSZpru+XJq5LL+Fkgh157D9SpDdy17sB4xMN4=
github.com/txix-open/isp-kit v1.44.1/go.mod h1:efg4qDdAuw9Doi1OoT+OYSbr34B3j9u2ubz9R5BXYto=
github.com/txix-open/isp-kit v1.45.0 h1:GPrr4F5SLQsrXgUTCqHL7C90vygjmNPOimUCAuXr2dw=
github.com/txix-open/isp-kit v1.45.0/go.mod h1:efg4qDdAuw9Doi1OoT+OYSbr34B3j9u2ubz9R5BXYto=
github.com/txix-open/validator/v10 v10.0.0-20240401163703-e83541b40f99 h1:Z0Sqf+U+Sc6hfIXtRCIZlbJprkCjwMFbS4ZbEPQ44To=
github.com/txix-open/validator/v10 v10.0.0-20240401163703-e83541b40f99/go.mod h1:pA0NYmhL0uEkkxj55S+S7MZU4e2QIt46x9XSrzrWc3c=
go.opentelemetry.io/auto/sdk v1.1.0 h1:cH53jehLUN6UFLY71z+NDOiNJqDdPRaXzTel0sJySYA=
+1 -1
View File
@@ -36,7 +36,7 @@ type UpdateVariableRequest struct {
type UpsertVariableRequest struct {
Name string `validate:"required"`
Description string `validate:"required"`
Description string
Type string `validate:"required,oneof=SECRET TEXT"`
Value string `validate:"required"`
}
+1 -1
View File
@@ -19,7 +19,7 @@ require (
github.com/stretchr/testify v1.10.0
github.com/tidwall/gjson v1.18.0
github.com/txix-open/etp/v4 v4.0.1
github.com/txix-open/isp-kit v1.44.1
github.com/txix-open/isp-kit v1.45.0
github.com/xeipuuv/gojsonschema v1.2.0
golang.org/x/sync v0.12.0
google.golang.org/grpc v1.71.0
+2 -2
View File
@@ -266,8 +266,8 @@ github.com/txix-open/etp/v4 v4.0.1 h1:5VSYgGsvnMz0tvUHsjVWFETI0qWBTCF1O3ARCHaCIg
github.com/txix-open/etp/v4 v4.0.1/go.mod h1:FIu7TUDdwcgmtmF6tFTV1bGA2fRY/iVaPQdsGzvqYc8=
github.com/txix-open/grmq v1.7.0 h1:nwenrlxEjXpK0EBCa/WbIxK+y0mF2pZxNKbheFjQVsI=
github.com/txix-open/grmq v1.7.0/go.mod h1:DAfbV4jLyxQBLG8OYJVy8kCbhucdlu/C/wl+nUDc9p8=
github.com/txix-open/isp-kit v1.44.1 h1:PCQ9O0aSZpru+XJq5LL+Fkgh157D9SpDdy17sB4xMN4=
github.com/txix-open/isp-kit v1.44.1/go.mod h1:efg4qDdAuw9Doi1OoT+OYSbr34B3j9u2ubz9R5BXYto=
github.com/txix-open/isp-kit v1.45.0 h1:GPrr4F5SLQsrXgUTCqHL7C90vygjmNPOimUCAuXr2dw=
github.com/txix-open/isp-kit v1.45.0/go.mod h1:efg4qDdAuw9Doi1OoT+OYSbr34B3j9u2ubz9R5BXYto=
github.com/txix-open/jsonschema v1.2.0 h1:B8TrdSsPhDvYv67oi/LVqf7/+PuqFlMsNwUzGeHfl1s=
github.com/txix-open/jsonschema v1.2.0/go.mod h1:l8YDZ1nvJrw6uxWowSVOxCV/ebiMJyapffW87ZEqH00=
github.com/txix-open/validator/v10 v10.0.0-20240401163703-e83541b40f99 h1:Z0Sqf+U+Sc6hfIXtRCIZlbJprkCjwMFbS4ZbEPQ44To=