Closed vinhntb closed 5 years ago
Yes, this is possible. Merging, crediting and releasing next RC to PyPI straight away.
After some Googling, there is no single correct answer to this. Anyway, cannot think what this would break. There is a possibility that separate schemas will be generated, if both are used interchangeably in tests. Quite an easy fix to a seemingly rare case.
In my case that is Django project, I apply this library to testing API. https://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-APPEND_SLASH
Released: https://pypi.org/project/RESTinstance.
Thank You!
+1 to this fix. We also have Django project and trailing slash is mandatory for some URLs.
Some in case API will be different with splash ending like that
/api/foo/
and/api/foo
. So that we should be keep original url from input.