File tree Expand file tree Collapse file tree 3 files changed +1
-3
lines changed
tests/integration/contrib/django/data/djangoproject/testapp Expand file tree Collapse file tree 3 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ isodate==0.6.0
22dictpath == 0.1.3
33openapi-spec-validator == 0.3.3
44openapi-schema-validator == 0.1.6
5- PyYAML == 5.3.1
65six
76lazy-object-proxy
87attrs
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ install_requires =
3030 dictpath
3131 openapi-spec-validator < 0.4.0
3232 openapi-schema-validator < 0.2.0
33- PyYAML < 6.0; python_version>="3.6"
3433 six
3534 lazy-object-proxy
3635 attrs
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class TestView(APIView):
1717 def get (self , request , pk ):
1818 with open (settings .OPENAPI_SPEC_PATH ) as file :
1919 spec_yaml = file .read ()
20- spec_dict = yaml .load (spec_yaml )
20+ spec_dict = yaml .load (spec_yaml , yaml . FullLoader )
2121 spec = create_spec (spec_dict )
2222
2323 openapi_request = DjangoOpenAPIRequest (request )
You can’t perform that action at this time.
0 commit comments