django-rest-swagger
django-rest-swagger copied to clipboard
Swagger Not reading Urls with Regular Expression correctly
I have a url as
url(r'^test-me/(?P<test_type>(pass|fail))/(?P<uuid>{uuid})/$'.format(uuid=UUID_REGEX),
verify_test,
name='verify-test'),
- where
test_type
can be eitherpass
orfail
This url is working fine and correctly validating whentest_type not chosen from
passor
fail`. - But when I generated swagger of above urls a extra parathensis
)
appear intest_type
like in below screen shot :
+1
+1