Spaces:
Sleeping
Sleeping
Update dist/index.html
Browse files- dist/index.html +14 -4
dist/index.html
CHANGED
@@ -38,11 +38,20 @@
|
|
38 |
</select>
|
39 |
<h3>AMF 29518</h3>
|
40 |
<ul>
|
41 |
-
<li><a href="
|
42 |
-
|
43 |
-
<li><a href="
|
44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
</ul>
|
|
|
46 |
</div>
|
47 |
<div id="swagger-ui"></div>
|
48 |
<script src="https://unpkg.com/[email protected]/swagger-ui-bundle.js" crossorigin></script>
|
@@ -50,6 +59,7 @@
|
|
50 |
let release = 'Rel-18';
|
51 |
let currentFile = 'TS29518_Namf_Communication.yaml';
|
52 |
function updateRelease(updatedFile) {
|
|
|
53 |
const selectElement = document.getElementById('release-select');
|
54 |
release = selectElement.value;
|
55 |
loadSwagger(release, updatedFile); // Load the corresponding file for the selected release
|
|
|
38 |
</select>
|
39 |
<h3>AMF 29518</h3>
|
40 |
<ul>
|
41 |
+
<li><a href="" onclick="updateRelease('TS29518_Namf_Communication.yaml')">
|
42 |
+
Communication</a></li>
|
43 |
+
<li><a href="" onclick="updateRelease('TS29518_Namf_EventExposure.yaml')">
|
44 |
+
Event Exposure</a></li>
|
45 |
+
<li><a href="" onclick="updateRelease('TS29518_Namf_Location.yaml')">
|
46 |
+
Location</a></li>
|
47 |
+
<li><a href="" onclick="updateRelease('TS29518_Namf_MT.yaml')">
|
48 |
+
MT</a></li>
|
49 |
+
<li><a href="" onclick="updateRelease('TS29518_Namf_MBSCommunication.yaml')">
|
50 |
+
MBS Communication</a></li>
|
51 |
+
<li><a href="" onclick="updateRelease('TS29518_Namf_MBSBroadcast.yaml')">
|
52 |
+
MBS Broadcast</a></li>
|
53 |
</ul>
|
54 |
+
<!-- Add more API links here -->
|
55 |
</div>
|
56 |
<div id="swagger-ui"></div>
|
57 |
<script src="https://unpkg.com/[email protected]/swagger-ui-bundle.js" crossorigin></script>
|
|
|
59 |
let release = 'Rel-18';
|
60 |
let currentFile = 'TS29518_Namf_Communication.yaml';
|
61 |
function updateRelease(updatedFile) {
|
62 |
+
console.log('Click: ', updatedFile);
|
63 |
const selectElement = document.getElementById('release-select');
|
64 |
release = selectElement.value;
|
65 |
loadSwagger(release, updatedFile); // Load the corresponding file for the selected release
|