Force descriptions to be str objects

Fixes #159
This commit is contained in:
Cristi Vîjdea
2018-08-03 18:57:42 +03:00
parent f2e05ee4c0
commit 2965e08e39
9 changed files with 33 additions and 14 deletions
+2 -1
View File
@@ -1,3 +1,5 @@
from six import StringIO
import copy
import json
import os
@@ -9,7 +11,6 @@ from django.contrib.auth.models import User
from django.core.management import call_command
from rest_framework.test import APIRequestFactory
from rest_framework.views import APIView
from six import StringIO
from drf_yasg import codecs, openapi
from drf_yasg.codecs import yaml_sane_dump, yaml_sane_load
+1
View File
@@ -905,6 +905,7 @@ definitions:
minLength: 1
lastName:
title: LastName
description: <strong>Here's some HTML!</strong>
type: string
maxLength: 30
minLength: 1