Skip to content

Commit

Permalink
Treepots: Enum in array of array
Browse files Browse the repository at this point in the history
  • Loading branch information
jmini committed May 18, 2018
1 parent b694b33 commit d573f67
Showing 1 changed file with 45 additions and 1 deletion.
46 changes: 45 additions & 1 deletion openapi-generator-utils/treepots/treepots.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,17 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/LongModel'
/pull66:
get:
operationId: pull66
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/EnumInArrayOfArray'
responses:
'200':
description: Ok
components:
schemas:
ItemWithBoolean:
Expand All @@ -52,4 +63,37 @@ components:

LongProperty:
type: integer
format: int64
format: int64

EnumInArrayOfArray:
type: object
properties:
p1:
type: array
items:
type: string
enum:
- valA
- valB
- valC
p2:
type: array
items:
type: array
items:
type: string
enum:
- val1
- val2
- val3
p3:
type: array
items:
type: array
items:
type: array
items:
type: string
enum:
- lorem
- ipsum

0 comments on commit d573f67

Please sign in to comment.