Skip to content

Commit e55352e

Browse files
(cherry picked from commit d1db212)
1 parent 5547859 commit e55352e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/gorillamux/router_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ func TestRouter(t *testing.T) {
160160
{URL: "https://www.example.com/api/v1"},
161161
{URL: "https://{d0}.{d1}.com/api/v1/", Variables: map[string]*openapi3.ServerVariable{
162162
"d0": {Default: "www"},
163-
"d1": {Enum: []interface{}{"example"}},
163+
"d1": {Enum: []interface{}{"example"}, Default: "example"},
164164
}},
165165
}
166166
err = doc.Validate(context.Background())

0 commit comments

Comments
 (0)