Update license
[multicloud/framework.git] / multivimbroker / multivimbroker / swagger / urls.py
index 1255ae7..8412177 100644 (file)
@@ -1,4 +1,5 @@
 # Copyright (c) 2017 Wind River Systems, Inc.
+# Copyright (c) 2017-2018 VMware, Inc.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # distributed under the License is distributed on an "AS IS" BASIS,
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
-from django.conf.urls import patterns, url
+from django.conf.urls import url
 from rest_framework.urlpatterns import format_suffix_patterns
 
-from multivimbroker.swagger import views
+from multivimbroker.swagger import views
 from multivimbroker.swagger.views import SwaggerJsonView
 
 urlpatterns = [
-    url(r'^openoapi/multivim/v1/swagger.json$', SwaggerJsonView.as_view()),
+    url(r'^api/multicloud/v0/swagger.json$', SwaggerJsonView.as_view()),
 ]
 
 urlpatterns = format_suffix_patterns(urlpatterns)