Skip to content

Commit 8426f4b

Browse files
committed
test(golang): add two test cases for wrapped
- with name - without name
1 parent e319763 commit 8426f4b

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

modules/openapi-generator/src/test/resources/3_0/go/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1887,6 +1887,25 @@ components:
18871887
type: array
18881888
items:
18891889
$ref: '#/components/schemas/ReadOnlyFirst'
1890+
ArrayTestWithWrapped:
1891+
type: object
1892+
properties:
1893+
array_of_string:
1894+
type: array
1895+
items:
1896+
type: string
1897+
xml:
1898+
wrapped: true
1899+
ArrayTestWithWrappedAndName:
1900+
type: object
1901+
properties:
1902+
array_of_string:
1903+
type: array
1904+
items:
1905+
type: string
1906+
xml:
1907+
name: item
1908+
wrapped: true
18901909
NumberOnly:
18911910
type: object
18921911
properties:

0 commit comments

Comments
 (0)