Spaces:
Sleeping
Sleeping
Update dist/index.html
Browse files- dist/index.html +1 -4
dist/index.html
CHANGED
|
@@ -31,7 +31,7 @@ padding-top: 20px;
|
|
| 31 |
<h3>Select API:</h3>
|
| 32 |
<ul>
|
| 33 |
<li><a href="#" onclick="loadSwagger('https://petstore3.swagger.io/api/v3/openapi.json')">Petstore</a></li>
|
| 34 |
-
<li><a href="#" onclick="loadSwagger('https://raw.githubusercontent.com/
|
| 35 |
|
| 36 |
<!-- Add more API links here -->
|
| 37 |
</ul>
|
|
@@ -40,9 +40,6 @@ padding-top: 20px;
|
|
| 40 |
<script src="https://unpkg.com/swagger-ui-dist@4.5.0/swagger-ui-bundle.js" crossorigin></script>
|
| 41 |
<script>
|
| 42 |
function loadSwagger(url) {
|
| 43 |
-
if (window.ui) {
|
| 44 |
-
window.ui.destroy();
|
| 45 |
-
}
|
| 46 |
window.ui = SwaggerUIBundle({
|
| 47 |
url: url,
|
| 48 |
dom_id: '#swagger-ui'
|
|
|
|
| 31 |
<h3>Select API:</h3>
|
| 32 |
<ul>
|
| 33 |
<li><a href="#" onclick="loadSwagger('https://petstore3.swagger.io/api/v3/openapi.json')">Petstore</a></li>
|
| 34 |
+
<li><a href="#" onclick="loadSwagger('https://raw.githubusercontent.com/jdegre/5GC_APIs/Rel-18/TS29518_Namf_Communication.yaml')">TS29518_Namf_Communication</a></li>
|
| 35 |
|
| 36 |
<!-- Add more API links here -->
|
| 37 |
</ul>
|
|
|
|
| 40 |
<script src="https://unpkg.com/swagger-ui-dist@4.5.0/swagger-ui-bundle.js" crossorigin></script>
|
| 41 |
<script>
|
| 42 |
function loadSwagger(url) {
|
|
|
|
|
|
|
|
|
|
| 43 |
window.ui = SwaggerUIBundle({
|
| 44 |
url: url,
|
| 45 |
dom_id: '#swagger-ui'
|