Skip to content

Commit 5ed7968

Browse files
author
Manuel T. Schrempf
committed
TM-130: Change Annotation#target type to array
single values are treated as an array with one entry, see OpenAPITools/openapi-generator#10993
1 parent d7b1000 commit 5ed7968

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

api/resource/annotation-spec.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -281,11 +281,9 @@ components:
281281
items:
282282
$ref: '#/components/schemas/Body'
283283
target:
284-
oneOf:
285-
- $ref: '#/components/schemas/Target'
286-
- type: array
287-
items:
288-
$ref: '#/components/schemas/Target'
284+
type: array
285+
items:
286+
$ref: '#/components/schemas/Target'
289287
parameters:
290288
AnnotationId:
291289
name: annotationId

0 commit comments

Comments
 (0)