aboutsummaryrefslogtreecommitdiffstats
path: root/genericparser/swagger/management
diff options
context:
space:
mode:
Diffstat (limited to 'genericparser/swagger/management')
-rw-r--r--genericparser/swagger/management/commands/export_swagger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/genericparser/swagger/management/commands/export_swagger.py b/genericparser/swagger/management/commands/export_swagger.py
index e732246..ed7ea58 100644
--- a/genericparser/swagger/management/commands/export_swagger.py
+++ b/genericparser/swagger/management/commands/export_swagger.py
@@ -30,7 +30,7 @@ class Command(BaseCommand):
def handle(self, *args, **options):
self.client = Client()
- response = self.client.get("/api/genericparser/v1/swagger.json")
+ response = self.client.get("/api/parser/v1/swagger.json")
with open(options['name'], 'w') as swagger_file:
swagger_file.write(json.dumps(response.data))
print "swagger api is written to %s" % options['name']