drf-yasg
drf-yasg copied to clipboard
"instance failed to match exactly one schema (matched 0 out of 2)"
Hello,
Just to follow up on this old issue, as I am getting the same validation error at the moment. https://github.com/marcgibbons/django-rest-swagger/issues/586
Error
{"schemaValidationMessages":[{"level":"error","domain":"validation","keyword":"oneOf","message":"instance failed to match exactly one schema (matched 0 out of 2)","schema":{"loadingURI":"http://swagger.io/v2/schema.json#","pointer":"/definitions/parametersList/items"},"instance":{"pointer":"/paths/~1api~1v4~1authorization~1register/post/parameters/2"}}]}
Versions:
drf-yasg v. 1.20
djangorestframework v. 3.12.2
django v. 3.1.13
python 3.6.12
@vpolimenov Could you give us the full stack trace and a minimal setup to reproduce the isssue?