mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 14:31:13 +02:00
API V2
This commit is contained in:
200 files changed
+867
-625
No files matched your search
@@ -135,8 +135,5 @@ class Query:
|
||||
|
||||
def _example_file_path(self, method, path):
|
||||
path = re.sub('[^a-z0-9]', '', path)
|
||||
if len(self._prefix):
|
||||
prefix = self._prefix.replace('/', '')
|
||||
else:
|
||||
prefix = 'common'
|
||||
prefix = self._prefix.replace('/', '')
|
||||
return "docs/api/examples/{}_{}_{}.txt".format(prefix, method.lower(), path)
|
||||
Reference in new issue
Block a user