We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 85706be + fa96ffe commit 858ac78Copy full SHA for 858ac78
1 file changed
flask_restx/api.py
@@ -503,11 +503,11 @@ def endpoint(self, name):
503
@property
504
def specs_url(self):
505
"""
506
- The Swagger specifications absolute url (ie. `swagger.json`)
+ The Swagger specifications relative url (ie. `swagger.json`)
507
508
:rtype: str
509
510
- return url_for(self.endpoint("specs"), _external=True)
+ return url_for(self.endpoint("specs"))
511
512
513
def base_url(self):
0 commit comments