Fix Schema limits for ListField and ListSerializer

Fixes #324
This commit is contained in:
Cristi Vijdea
2019-02-27 21:19:39 +02:00
parent 5c2c39c82d
commit 3377ef08ea
3 changed files with 15 additions and 2 deletions
+9
View File
@@ -1023,6 +1023,7 @@ definitions:
Snippet:
required:
- code
- tags
- language
type: object
properties:
@@ -1057,6 +1058,13 @@ definitions:
title: Code
type: string
minLength: 1
tags:
type: array
items:
type: string
minLength: 2
maxItems: 15
minItems: 3
linenos:
title: Linenos
type: boolean
@@ -1553,6 +1561,7 @@ definitions:
items:
$ref: '#/definitions/Project'
readOnly: true
maxItems: 100
difficultyFactor:
title: Difficulty factor
description: this is here just to test FloatField