Simplify schemas

This commit is contained in:
Daniel García Aubert
2018-08-28 09:38:59 +02:00
parent 94cd3d008c
commit 810ad46446
+4 -6
View File
@@ -1197,15 +1197,13 @@ components:
number: can only contain numerical representation
css_color: can only contain color names or hex-values
default:
$ref: '#/components/schemas/PlaceholderDefaultValue'
anyOf:
- type: string
- type: number
- type: boolean
required:
- type
- default
PlaceholderDefaultValue:
anyOf:
- type: string
- type: number
- type: boolean
TemplateView:
type: object
title: Template View