Skip to content

Commit fafa1ce

Browse files
committed
Added allowed values
1 parent 4222850 commit fafa1ce

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

internal/app/action/action.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,11 @@ func (a *Action) runHandler(w http.ResponseWriter, r *http.Request) {
8383
}
8484

8585
type ParamDef struct {
86-
Name string
87-
Description string
88-
Value any
89-
InputType string
86+
Name string
87+
Description string
88+
Value any
89+
InputType string
90+
AllowedValues []string
9091
}
9192

9293
func (a *Action) getForm(w http.ResponseWriter, r *http.Request) {

0 commit comments

Comments
 (0)