Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions flask_restx/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,11 +503,11 @@ def endpoint(self, name):
@property
def specs_url(self):
"""
The Swagger specifications absolute url (ie. `swagger.json`)
The Swagger specifications relative url (ie. `swagger.json`)

:rtype: str
"""
return url_for(self.endpoint("specs"), _external=True)
return url_for(self.endpoint("specs"))

@property
def base_url(self):
Expand Down