ae0b4aead5afd947f8c6e123769618975c94aa47
[multicloud/framework.git] / multivimbroker / multivimbroker / swagger / urls.py
1 # Copyright (c) 2017 Wind River Systems, Inc.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at:
6 #       http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
12 from django.conf.urls import url
13 from rest_framework.urlpatterns import format_suffix_patterns
14
15 # from multivimbroker.swagger import views
16 from multivimbroker.swagger.views import SwaggerJsonView
17
18 urlpatterns = [
19     url(r'^api/multicloud/v0/swagger.json$', SwaggerJsonView.as_view()),
20 ]
21
22 urlpatterns = format_suffix_patterns(urlpatterns)