Change default port to 3080

Fix #487
This commit is contained in:
Julien Duponchelle committed 2016-03-25 15:31:17 +01:00
1 parent 5345fe8490
commit c563dbba8a
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@ class Query:
if path is None:
return
with open(self._example_file_path(method, route), 'w+') as f:
f.write("curl -i -X {} 'http://localhost:8000/v{}{}'".format(method, api_version, path))
f.write("curl -i -X {} 'http://localhost:3080/v{}{}'".format(method, api_version, path))
if body:
f.write(" -d '{}'".format(re.sub(r"\n", "", json.dumps(json.loads(body), sort_keys=True))))
f.write("\n\n")