We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5547859 commit e55352eCopy full SHA for e55352e
routers/gorillamux/router_test.go
@@ -160,7 +160,7 @@ func TestRouter(t *testing.T) {
160
{URL: "https://www.example.com/api/v1"},
161
{URL: "https://{d0}.{d1}.com/api/v1/", Variables: map[string]*openapi3.ServerVariable{
162
"d0": {Default: "www"},
163
- "d1": {Enum: []interface{}{"example"}},
+ "d1": {Enum: []interface{}{"example"}, Default: "example"},
164
}},
165
}
166
err = doc.Validate(context.Background())
0 commit comments