summaryrefslogtreecommitdiffstats
path: root/cvp/3rd_party/static/swagger/endpoint.html
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2018-07-05 22:37:35 -0400
committerGeorg Kunz <georg.kunz@ericsson.com>2018-07-25 09:17:09 +0000
commit58b91dd3baaaf72ab65062a4804403cd4a5935b2 (patch)
tree801b1f39b3bee25ecbaae387339955d55651e98b /cvp/3rd_party/static/swagger/endpoint.html
parent947f1bf0147c40971fdae36feecd477ab3caf3b8 (diff)
Move OVP web portal code to a separate repo
The new repo for web portal is https://gerrit.opnfv.org/gerrit/dovetail-webportal JIRA: DOVETAIL-671 Change-Id: Iac085abc3d175b9a091d70d0448af56c7a6845e9 Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'cvp/3rd_party/static/swagger/endpoint.html')
-rw-r--r--cvp/3rd_party/static/swagger/endpoint.html77
1 files changed, 0 insertions, 77 deletions
diff --git a/cvp/3rd_party/static/swagger/endpoint.html b/cvp/3rd_party/static/swagger/endpoint.html
deleted file mode 100644
index 4ae3bde0..00000000
--- a/cvp/3rd_party/static/swagger/endpoint.html
+++ /dev/null
@@ -1,77 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Api Docs for {{path}}</title>
- <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css">
- <style>
- body {margin-top: 60px;}
- </style>
- </head>
- <body>
- <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
- <div class="container">
- <div class="navbar-header">
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
- <span class="sr-only">Toggle navigation</span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- </div>
- <!-- Collect the nav links, forms, and other content for toggling -->
- <div class="collapse navbar-collapse navbar-ex1-collapse">
- <ul class="nav navbar-nav">
- {% for operation in operations %}
- <li><a href="#{{operation.method}}">{{operation.method}}</a></li>
- {% endfor %}
- </ul>
- </div><!-- /.navbar-collapse -->
- </div><!-- /.container -->
- </nav>
- <div class="container">
- <div class="row">
- <div class="col-lg-12">
- <h1>{{path}}</h1>
- <p class='lead'>{{description if description != None}}</p>
- </div>
- <div class="col-lg-12">
- {% for operation in operations %}
- <div class="panel panel-success" id='{{operation.method}}'>
- <div class="panel-heading">
- <h3 class="panel-title">{{operation.method}}</h3>
- <p>{{operation.summary if operation.summary != None}}</p>
- </div>
- <div class="panel-body">
- {% if operation.parameters %}
- <h4>Parameters</h4>
- <dl>
- {% for parameter in operation.parameters %}
- <dt>
- {{parameter.name}}
- {% if parameter.description %}
- - {{parameter.description}}
- {% endif %}
- </dt>
- <dd>Type: {{parameter.dataType}}</dd>
- <dd>Allow Multiple: {{parameter.allowMultiple}}</dd>
- <dd>Required: {{parameter.required}}</dd>
- {% endfor %}
- </dl>
- {% endif %}
- {% if operation.notes %}
- <p><strong>Implementation notes</strong>: {{operation.notes}}</p>
- {% endif %}
- {% if operation.responseClass %}
- <p><strong>Response Class</strong>: {{operation.responseClass}}</p>
- {% endif %}
- </div>
- </div>
- {% endfor %}
- </div>
- </div><!-- /.container -->
- <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
- <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
- </body>
-</html>