diff --git a/src/drf_yasg/openapi.py b/src/drf_yasg/openapi.py index 3d51093..c76b03b 100644 --- a/src/drf_yasg/openapi.py +++ b/src/drf_yasg/openapi.py @@ -425,7 +425,7 @@ class Schema(SwaggerDict): :param str format: value format, see OpenAPI spec :param list enum: restrict possible values :param str pattern: pattern if type is ``string`` - :param list[.Schema,.SchemaRef] properties: object properties; required if `type` is ``object`` + :param dict[str,(.Schema,.SchemaRef)] properties: object properties; required if `type` is ``object`` :param bool,.Schema,.SchemaRef additional_properties: allow wildcard properties not listed in `properties` :param list[str] required: list of requried property names :param .Schema,.SchemaRef items: type of array items, only valid if `type` is ``array`` diff --git a/tox.ini b/tox.ini index 34b53c9..714a3be 100644 --- a/tox.ini +++ b/tox.ini @@ -66,4 +66,4 @@ known_third_party = coreapi,coreschema,datadiff,dj_database_url,django,django_filters,djangorestframework_camel_case,flex,gunicorn, inflection,pygments,pytest,rest_framework,ruamel,setuptools_scm,swagger_spec_validator,uritemplate,user_agents, whitenoise -known_first_party = drf_yasg,testproj,articles,snippets,users,urlconfs +known_first_party = drf_yasg,testproj,articles,people,snippets,todo,users,urlconfs