Skip to content

Commit f373304

Browse files
committed
match default name with the OAS spec
1 parent 25c2656 commit f373304

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

samples/openapi3/client/petstore/go/fake_api_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ package main
22

33
import (
44
"context"
5-
"github.com/stretchr/testify/assert"
65
"testing"
76

7+
"github.com/stretchr/testify/assert"
8+
89
sw "go-petstore"
910
)
1011

@@ -63,7 +64,7 @@ func TestQueryDeepObject(t *testing.T) {
6364
var idcat = int64(1)
6465
req = req.InputOptions(sw.Category{
6566
Id: &idcat,
66-
Name: "TestCat",
67+
Name: "default-name",
6768
AdditionalProperties: map[string]interface{}{
6869
"F1": 1,
6970
"F2": "teststring",

0 commit comments

Comments
 (0)