Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.

Commit 874ab6d

Browse files
committed
Worked on kong 0.10.x integration
1 parent 13d7751 commit 874ab6d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

assets/js/apis/apis.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<td>
3636

3737
<i
38-
uib-tooltip="Strip Request Path"
38+
uib-tooltip="Strip {{settings.kong_version == '0-9-x' ? 'Request Path' : 'Uri'}}"
3939
ng-click="toggleStripRequestPathOrUri(api)"
4040
data-ng-class="{'text-primary' : isRequestPathOrUriStripped(api),'text-muted' : !isRequestPathOrUriStripped(api)}"
4141
class="material-icons clickable">

assets/js/apis/partials/form-api-0-10-x.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717
<div class="form-group" ng-class="{'has-error' : errors.uris}">
1818
<label class="col-sm-4 control-label">Uris <br><em><small class="help-block">semi-optional</small></em></label>
1919
<div class="col-sm-7">
20-
<input ng-model="api.hosts" class="form-control">
20+
<input ng-model="api.uris" class="form-control">
2121
<div class="text-danger" ng-if="errors.uris" data-ng-bind="errors.uris"></div>
2222
<p class="help-block">A comma-separated list of URIs prefixes that point to your API. For example: <code>/my-path</code>. At least one of <code>hosts</code>, <code>uris</code>, or <code>methods</code> should be specified.</p>
2323
</div>
2424
</div>
2525
<div class="form-group" ng-class="{'has-error' : errors.methods}">
2626
<label class="col-sm-4 control-label">Methods <br><em><small class="help-block">semi-optional</small></em></label>
2727
<div class="col-sm-7">
28-
<input ng-model="api.hosts" class="form-control">
28+
<input ng-model="api.methods" class="form-control">
2929
<div class="text-danger" ng-if="errors.methods" data-ng-bind="errors.methods"></div>
3030
<p class="help-block">A comma-separated list of HTTP methods that point to your API. For example: <code>GET</code>,<code>POST</code>. At least one of <code>hosts</code>, <code>uris</code>, or <code>methods</code> should be specified.</p>
3131
</div>

0 commit comments

Comments
 (0)