@@ -301,7 +301,7 @@ func TestGetBasePath(t *testing.T) {
301
301
{
302
302
URL : "http://my-api.foo.bar/{mount}/api" ,
303
303
Variables : map [string ]* openapi3.ServerVariable {
304
- "mount" : {Default : "point" , Enum : []interface {} {"vec" , "point" }},
304
+ "mount" : {Default : "point" , Enum : []string {"vec" , "point" }},
305
305
},
306
306
},
307
307
},
@@ -315,7 +315,7 @@ func TestGetBasePath(t *testing.T) {
315
315
{
316
316
URL : "http://my-api.foo.bar/{mount}/api" ,
317
317
Variables : map [string ]* openapi3.ServerVariable {
318
- "mount" : {Default : "point" , Enum : []interface {} {"vec" , "point" }},
318
+ "mount" : {Default : "point" , Enum : []string {"vec" , "point" }},
319
319
},
320
320
},
321
321
},
@@ -329,7 +329,7 @@ func TestGetBasePath(t *testing.T) {
329
329
URL : "http://{env}my-api.foo.bar/{mount}/api" ,
330
330
Variables : map [string ]* openapi3.ServerVariable {
331
331
"env" : {Default : "pp" },
332
- "mount" : {Default : "point" , Enum : []interface {} {"vec" , "point" }},
332
+ "mount" : {Default : "point" , Enum : []string {"vec" , "point" }},
333
333
},
334
334
},
335
335
},
0 commit comments