Skip to content

Commit 570eee6

Browse files
committed
Teepots: Add enum with custom name.
Test case for OpenAPITools/openapi-generator#917
1 parent 2178b0f commit 570eee6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

openapi-generator-utils/treepots/treepots.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,16 @@ components:
182182
- "b"
183183
- "a"
184184

185+
EnumWithCustomName:
186+
type: integer
187+
format: int32
188+
enum:
189+
- 1
190+
- 2
191+
x-enum-varnames:
192+
- FOO
193+
- BAR
194+
185195
SomeObject:
186196
type: object
187197
properties:

0 commit comments

Comments
 (0)