Skip to content

Commit 230df9e

Browse files
committed
Add a test schema with enum properties
1 parent d584f65 commit 230df9e

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2062,3 +2062,22 @@ components:
20622062
enum:
20632063
- admin
20642064
- user
2065+
TestEnum:
2066+
type: string
2067+
enum:
2068+
- ""
2069+
- "1"
2070+
- "2"
2071+
title: TestEnum
2072+
TestItem:
2073+
type: object
2074+
required:
2075+
- test
2076+
properties:
2077+
test:
2078+
type: integer
2079+
title: test
2080+
testEmum:
2081+
$ref: '#/components/schemas/TestEnum'
2082+
default: ""
2083+
title: TestItem

0 commit comments

Comments
 (0)