Spaces:
Sleeping
Sleeping
File size: 24,335 Bytes
5f84c3c 11341c3 5f84c3c b74c88c f971211 b74c88c 06e6d38 bed4bf1 b74c88c 06e6d38 8d081cc b74c88c 8d081cc b74c88c 8d081cc 15cdf3a bed4bf1 b74c88c bed4bf1 94bbfea bed4bf1 b74c88c 82e728a b74c88c 82e728a 15cdf3a b74c88c bed4bf1 15cdf3a b74c88c f7858e4 bed4bf1 f7858e4 bed4bf1 f7858e4 bed4bf1 f7858e4 bed4bf1 f7858e4 bed4bf1 82e728a bed4bf1 837e3f3 bed4bf1 15cdf3a 94bbfea b74c88c 15cdf3a 5f84c3c 837e3f3 b74c88c 82e728a 94bbfea 82e728a f971211 b74c88c f971211 b74c88c f971211 b74c88c f971211 b74c88c f971211 b74c88c f971211 b74c88c f971211 a0bd678 f971211 33e31c1 f971211 33e31c1 f971211 a0bd678 f971211 b74c88c f971211 b453718 b74c88c f971211 b74c88c 55f0ebb 06e6d38 55f0ebb b74c88c 55f0ebb 57b11dd b74c88c 06e6d38 b74c88c 06e6d38 15cdf3a b74c88c 15cdf3a b74c88c 15cdf3a f7c30a7 b74c88c f7c30a7 b74c88c 5f84c3c 06e6d38 5f84c3c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="SwaggerUI" />
<title>3GPP 5GC SBI OpenAPI</title>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/swagger-ui.css" />
<style>
#swagger-ui {
padding-top: 1em;
margin: 0;
position: relative;
}
ul {
margin-top: 0.4em;
margin-bottom: 0;
}
h5 {
margin-top: 1em;
margin-bottom: 0;
}
/* table of contents */
#toc {
background-color: #f6fffe;
border: 2px solid #96ccff;
z-index: 2;
top: 0.3em;
left: 0.3em;
padding: 0.35em 1em 0.6em 1em;
border-radius: 0.25rem;
/* width: 250px; */
position: fixed;
/* border: solid; */
}
.btn {
padding: 0;
background-color: transparent;
/* Blue background */
border: none;
/* Remove borders */
border-radius: 0.25rem;
cursor: pointer;
font-weight: bold;
/* Mouse pointer on hover */
}
.btn:hover {
transform: scale(1.02);
}
#toc nav {
display: none;
overflow-y: scroll;
scrollbar-width: none;
-ms-overflow-style: none;
padding-right: 0;
height: calc(100vh - 50px);
}
#toc nav::-webkit-scrollbar {
display: none;
/* Chrome Safari */
}
#toc.active nav {
display: block;
}
#toc ul {
list-style: none;
margin: 0;
padding: 0;
}
#toc ul a:link {
padding-left: 0.5em;
padding-right: 0.5em;
text-decoration: none;
}
#toc ul a:hover {
cursor: pointer;
background: #ffdfdf;
display: block;
border-radius: 0.25rem;
transform: scale(1.02);
}
#release-select {
font-weight: bold;
appearance: none;
-webkit-appearance: none;
z-index: 3;
position: fixed;
top: 0.3em;
right: 0.3em;
padding: 0.85em 6em 0.85em 1em;
background-color: #f6fffe;
border: 2px solid #96ccff;
border-radius: 0.25rem;
cursor: pointer;
}
#release-select:focus {
outline: none;
}
</style>
</head>
<body>
<div id="select">
<select id="release-select" onchange="update(currentFile)">
<option value="Rel-18">Rel-18</option>
<option value="Rel-17">Rel-17</option>
<option value="Rel-16">Rel-16</option>
<option value="Rel-15">Rel-15</option>
</select>
</div>
<div id="toc">
<label>
<button class="btn">☰ 5GC API Index</button>
</label>
<nav class="toc">
<h5>AMF 29.518</h5>
<ul>
<li><a href="#" onclick="update('TS29518_Namf_Communication.yaml')">
Communication</a></li>
<li><a href="#" onclick="update('TS29518_Namf_EventExposure.yaml')">
Event Exposure</a></li>
<li><a href="#" onclick="update('TS29518_Namf_Location.yaml')">
Location</a></li>
<li><a href="#" onclick="update('TS29518_Namf_MT.yaml')">
Mobile Termination</a></li>
<li><a href="#" onclick="update('TS29518_Namf_MBSCommunication.yaml')">
MBS Communication</a></li>
<li><a href="#" onclick="update('TS29518_Namf_MBSBroadcast.yaml')">
MBS Broadcast</a></li>
</ul>
<h5>SMF 29.502/508/542</h5>
<ul>
<li><a href="#" onclick="update('TS29502_Nsmf_PDUSession.yaml')">
PDU Session</a></li>
<li><a href="#" onclick="update('TS29508_Nsmf_EventExposure.yaml')">
Event Exposure</a></li>
<li><a href="#" onclick="update('TS29542_Nsmf_NIDD.yaml')">
NIDD</a></li>
</ul>
<h5>NRF 29.510</h5>
<ul>
<li><a href="#" onclick="update('TS29510_Nnrf_NFManagement.yaml')">
NF Management</a></li>
<li><a href="#" onclick="update('TS29510_Nnrf_NFDiscovery.yaml')">
NF Discovery</a></li>
<li><a href="#" onclick="update('TS29510_Nnrf_AccessToken.yaml')">
OAuth2</a></li>
<li><a href="#" onclick="update('TS29510_Nnrf_Bootstrapping.yaml')">
Bootstrapping</a></li>
</ul>
<h5>Common 29.571</h5>
<ul>
<li><a href="#" onclick="update('TS29571_CommonData.yaml')">
Common Data Types</a></li>
</ul>
<h5>UDM 29.503</h5>
<ul>
<li><a href="#" onclick="update('TS29503_Nudm_SDM.yaml')">
Subscriber Data Management</a></li>
<li><a href="#" onclick="update('TS29503_Nudm_UECM.yaml')">
UE Context Management</a></li>
<li><a href="#" onclick="update('TS29503_Nudm_UEAU.yaml')">
UE Authentication</a></li>
<li><a href="#" onclick="update('TS29503_Nudm_EE.yaml')">
Event Exposure</a></li>
<li><a href="#" onclick="update('TS29503_Nudm_PP.yaml')">
Parameter Provisioning</a></li>
<li><a href="#" onclick="update('TS29503_Nudm_NIDDAU.yaml')">
NIDD Authorization</a></li>
<li><a href="#" onclick="update('TS29503_Nudm_MT.yaml')">
Mobile Termination</a></li>
<li><a href="#" onclick="update('TS29503_Nudm_SSAU.yaml')">
Service-Specific Authorization</a></li>
<li><a href="#" onclick="update('TS29503_Nudm_RSDS.yaml')">
RSDS</a></li>
<li><a href="#" onclick="update('TS29503_Nudm_UEID.yaml')">
UE ID</a></li>
</ul>
<h5>NSSF 29.531</h5>
<ul>
<li><a href="#" onclick="update('TS29531_Nnssf_NSSAIAvailability.yaml')">
NSSAI Availability</a></li>
<li><a href="#" onclick="update('TS29531_Nnssf_NSSelection.yaml')">
NS Selection</a></li>
</ul>
<h5>LMF 29.572</h5>
<ul>
<li><a href="#" onclick="update('TS29572_Nlmf_Location.yaml')">
Location</a></li>
<li><a href="#" onclick="update('TS29572_Nlmf_Broadcast.yaml')">
Broadcast</a></li>
</ul>
<h5>AUSF 29.509</h5>
<ul>
<li><a href="#" onclick="update('TS29509_Nausf_UEAuthentication.yaml')">
UE Authentication</a></li>
<li><a href="#" onclick="update('TS29509_Nausf_SoRProtection.yaml')">
SoR Protection </a></li>
<li><a href="#" onclick="update('TS29509_Nausf_UPUProtection.yaml')">
UPU Protection </a></li>
</ul>
<h5>SMSF 29.540</h5>
<ul>
<li><a href="#" onclick="update('TS29540_Nsmsf_SMService.yaml')">
SM Service</a></li>
</ul>
<h5>PCF 29.514/534/507/512/554/525/537</h5>
<ul>
<li><a href="#" onclick="update('TS29514_Npcf_PolicyAuthorization.yaml')">
Policy Authorization</a></li>
<li><a href="#" onclick="update('TS29534_Npcf_AMPolicyAuthorization.yaml')">
AM Policy Authorization</a></li>
<li><a href="#" onclick="update('TS29507_Npcf_AMPolicyControl.yaml')">
AM Policy Control</a></li>
<li><a href="#" onclick="update('TS29512_Npcf_SMPolicyControl.yaml')">
SM Policy Control</a></li>
<li><a href="#" onclick="update('TS29554_Npcf_BDTPolicyControl.yaml')">
BDT Policy Control</a></li>
<li><a href="#" onclick="update('TS29523_Npcf_EventExposure.yaml')">
Event Exposure</a></li>
<li><a href="#" onclick="update('TS29525_Npcf_UEPolicyControl.yaml')">
UE Policy Control</a></li>
<li><a href="#" onclick="update('TS29537_Npcf_MBSPolicyControl.yaml')">
MBS Policy Control </a></li>
<li><a href="#" onclick="update('TS29537_Npcf_MBSPolicyAuthorization.yaml')">
MBS Policy Authorization</a></li>
</ul>
<h5>NSSAAF 29.526</h5>
<ul>
<li><a href="#" onclick="update('TS29526_Nnssaaf_NSSAA.yaml')">
NSSAA</a></li>
<li><a href="#" onclick="update('TS29526_Nnssaaf_AIW.yaml')">
AIW</a></li>
</ul>
<h5>NSACF 29.536</h5>
<ul>
<li><a href="#" onclick="update('TS29536_Nnsacf_NSAC.yaml')">
NSAC</a></li>
<li><a href="#" onclick="update('TS29536_Nnsacf_SliceEventExposure.yaml')">
Slice Event Exposure</a></li>
</ul>
<h5>UPF 29.564</h5>
<ul>
<li><a href="#" onclick="update('TS29564_Nupf_EventExposure.yaml')">
Event Exposure</a></li>
<li><a href="#" onclick="update('TS29564_Nupf_GetPrivateUEIPaddr.yaml')">
Get Private UE IP Address</a></li>
</ul>
<h5>5G-EIR 29.511</h5>
<ul>
<li><a href="#" onclick="update('TS29511_N5g-eir_EquipmentIdentityCheck.yaml')">
Equipment Identity Check</a></li>
</ul>
<h5>NEF 29.551/541/591/256</h5>
<ul>
<li><a href="#" onclick="update('TS29551_Nnef_PFDmanagement.yaml')">
PFD Management</a></li>
<li><a href="#" onclick="update('TS29541_Nnef_SMContext.yaml')">
SM Context </a></li>
<li><a href="#" onclick="update('TS29541_Nnef_SMService.yaml')">
SM Service</a></li>
<li><a href="#" onclick="update('TS29591_Nnef_EventExposure.yaml')">
Event Exposure</a></li>
<li><a href="#" onclick="update('TS29256_Nnef_Authentication.yaml')">
Authentication </a></li>
<li><a href="#" onclick="update('TS29591_Nnef_EASDeployment.yaml')">
EAS Deployment</a></li>
</ul>
<h5>UDR 29.504/519</h5>
<ul>
<li><a href="#" onclick="update('TS29504_Nudr_DR.yaml')">
Data Repository</a></li>
<li><a href="#" onclick="update('TS29505_Subscription_Data.yaml')">
Subscription Data </a></li>
<li><a href="#" onclick="update('TS29519_Policy_Data.yaml')">
Policy Data</a></li>
<li><a href="#" onclick="update('TS29519_Exposure_Data.yaml')">
Event Exposure</a></li>
<li><a href="#" onclick="update('TS29519_Application_Data.yaml')">
Application Data</a></li>
<li><a href="#" onclick="update('TS29504_Nudr_GroupIDmap.yaml')">
Group ID Map</a></li>
</ul>
<h5>UDSF 29.598</h5>
<ul>
<li><a href="#" onclick="update('TS29598_Nudsf_DataRepository.yaml')">
Data Repository</a></li>
<li><a href="#" onclick="update('TS29598_Nudsf_Timer.yaml')">
Timer</a></li>
</ul>
<h5>BSF 29.521</h5>
<ul>
<li><a href="#" onclick="update('TS29521_Nbsf_Management.yaml')">
Management</a></li>
</ul>
<h5>NWDAF 29.520</h5>
<ul>
<li><a href="#" onclick="update('TS29520_Nnwdaf_EventsSubscription.yaml')">
Events Subscription</a></li>
<li><a href="#" onclick="update('TS29520_Nnwdaf_AnalyticsInfo.yaml')">
Analytics Info </a></li>
<li><a href="#" onclick="update('TS29520_Nnwdaf_DataManagement.yaml')">
Data Management</a></li>
<li><a href="#" onclick="update('TS29520_Nnwdaf_MLModelProvision.yaml')">
ML Model Provision</a></li>
</ul>
<h5>HSS 29.562/563</h5>
<ul>
<li><a href="#" onclick="update('TS29563_Nhss_UEAU.yaml')">
UE Authentication</a></li>
<li><a href="#" onclick="update('TS29563_Nhss_SDM.yaml')">
Subscriber Data Management</a></li>
<li><a href="#" onclick="update('TS29563_Nhss_UECM.yaml')">
UE Context Management</a></li>
<li><a href="#" onclick="update('TS29563_Nhss_EE.yaml')">
Event Exposure</a></li>
<li><a href="#" onclick="update('TS29562_Nhss_imsUEAU.yaml')">
IMS UE Authentication</a></li>
<li><a href="#" onclick="update('TS29562_Nhss_imsSDM.yaml')">
IMS SDM</a></li>
<li><a href="#" onclick="update('TS29562_Nhss_imsUECM.yaml')">
IMS UECM</a></li>
<li><a href="#" onclick="update('TS29562_Nhss_gbaSDM.yaml')">
GBA SDM</a></li>
<li><a href="#" onclick="update('TS29562_Nhss_gbaUEAU.yaml')">
GBA UE Authentication</a></li>
</ul>
<h5>MB-SMF 29.532</h5>
<ul>
<li><a href="#" onclick="update('TS29532_Nmbsmf_MBSSession.yaml')">
MBS Session</a></li>
<li><a href="#" onclick="update('TS29532_Nmbsmf_TMGI.yaml')">
MBS TMGI</a></li>
</ul>
<h5>MB-SF 29.532</h5>
<ul>
<li><a href="#" onclick="update('TS29580_Nmbsf_MBSUserService.yaml')">
MBS User Service</a></li>
<li><a href="#" onclick="update('TS29580_Nmbsf_MBSUserDataIngestSession.yaml')">
MBS User Data Ingest Session</a></li>
</ul>
<h5>MB-STF 29.581</h5>
<ul>
<li><a href="#" onclick="update('TS29581_Nmbstf_DistSession.yaml')">
MBS Distribution Session</a></li>
</ul>
<h5>MB 26.517</h5>
<ul>
<li><a href="#" onclick="update('TS26517_MBSUserServiceAnnouncement.yaml')">
MBS User Service Announcement</a></li>
</ul>
<h5>GBA BSF 29.309</h5>
<ul>
<li><a href="#" onclick="update('TS29309_Nbsp_GBA.yaml')">
GBA Service</a></li>
</ul>
<h5>SOR-AF 29.550</h5>
<ul>
<li><a href="#" onclick="update('TS29550_Nsoraf_SOR.yaml')">
Steering of Roaming</a></li>
</ul>
<h5>SP-AF 29.544</h5>
<ul>
<li><a href="#" onclick="update('TS29544_Nspaf_SecuredPacket.yaml')">
Secured Packet</a></li>
</ul>
<h5>AF 29.517/557/255</h5>
<ul>
<li><a href="#" onclick="update('TS29517_Naf_EventExposure.yaml')">
Event Exposure</a></li>
<li><a href="#" onclick="update('TS29557_Naf_ProSe.yaml')">
ProSe</a></li>
<li><a href="#" onclick="update('TS29255_Naf_Authentication.yaml')">
Authentication</a></li>
</ul>
<h5>CHF 29.532</h5>
<ul>
<li><a href="#" onclick="update('TS29594_Nchf_SpendingLimitControl.yaml')">
Spending Limit Control</a></li>
<li><a href="#" onclick="update('TS32291_Nchf_ConvergedCharging.yaml')">
Converged Charging</a></li>
<li><a href="#" onclick="update('TS32291_Nchf_OfflineOnlyCharging.yaml')">
Offline-Only Charging</a></li>
</ul>
<h5>SEPP N32 29.573</h5>
<ul>
<li><a href="#" onclick="update('TS29573_N32_Handshake.yaml')">
Handshake</a></li>
<li><a href="#" onclick="update('TS29573_JOSEProtectedMessageForwarding.yaml')">
Forwarding</a></li>
<li><a href="#" onclick="update('TS29573_SeppTelescopicFqdnMapping.yaml')">
Telescopic FQDN Mapping</a></li>
</ul>
<h5>UCMF 29.673/675</h5>
<ul>
<li><a href="#" onclick="update('TS29673_Nucmf_UERCM.yaml')">
UE Radio Capability Management</a></li>
<li><a href="#" onclick="update('TS29675_Nucmf_Provisioning.yaml')">
Provisioning </a></li>
</ul>
<h5>MNPF 29.578</h5>
<ul>
<li><a href="#" onclick="update('TS29578_Nmnpf_NPStatus.yaml')">
Number Portability Status</a></li>
</ul>
<h5>GMLC 29.515</h5>
<ul>
<li><a href="#" onclick="update('TS29515_Ngmlc_Location.yaml')">
Location</a></li>
</ul>
<h5>EASDF 29.556</h5>
<ul>
<li><a href="#" onclick="update('TS29556_Neasdf_DNSContext.yaml')">
DNS Context</a></li>
<li><a href="#" onclick="update('TS29556_Neasdf_BaselineDNSPattern.yaml')">
Baseline DNS Pattern </a></li>
</ul>
<h5>AAnF 29.535</h5>
<ul>
<li><a href="#" onclick="update('TS29535_Naanf_AKMA.yaml')">
AKMA Anchor Service</a></li>
</ul>
<h5>N5G DDNMF 29.555</h5>
<ul>
<li><a href="#" onclick="update('TS29555_N5g-ddnmf_Discovery.yaml')">
Discovery </a></li>
</ul>
<h5>TSCTSF 29.565</h5>
<ul>
<li><a href="#" onclick="update('TS29565_Ntsctsf_TimeSynchronization.yaml')">
Time Synchronization</a></li>
<li><a href="#" onclick="update('TS29565_Ntsctsf_QoSandTSCAssistance.yaml')">
QoS and TSC Assistance</a></li>
<li><a href="#" onclick="update('TS29565_Ntsctsf_ASTI.yaml')">
ASTI </a></li>
</ul>
<h5>ADRF 29.575</h5>
<ul>
<li><a href="#" onclick="update('TS29575_Nadrf_DataManagement.yaml')">
Data Management</a></li>
</ul>
<h5>MFAF 29.576</h5>
<ul>
<li><a href="#" onclick="update('TS29576_Nmfaf_3daDataManagement.yaml')">
3DA Data Management</a></li>
<li><a href="#" onclick="update('TS29576_Nmfaf_3caDataManagement.yaml')">
3CA Data Management</a></li>
</ul>
<h5>DCAF 26.532</h5>
<ul>
<li><a href="#" onclick="update('TS26532_CommonData.yaml')">
Common Data Types</a></li>
<li><a href="#" onclick="update('TS26532_Ndcaf_DataReportingProvisioning.yaml')">
Provisioning (R1)</a></li>
<li><a href="#" onclick="update('TS26532_Ndcaf_DataReporting.yaml')">
Configuration & Reporting (R2/3/4) </a></li>
</ul>
<h5>DCCF 29.574</h5>
<ul>
<li><a href="#" onclick="update('TS29574_Ndccf_DataManagement.yaml')">
Data Management</a></li>
<li><a href="#" onclick="update('TS29574_Ndccf_ContextManagement.yaml')">
Context Management</a></li>
</ul>
<h5>IP-SM-GW 29.577</h5>
<ul>
<li><a href="#" onclick="update('TS29577_Nipsmgw_SMService.yaml')">
SM Service</a></li>
</ul>
<h5>SMS Router 29.577</h5>
<ul>
<li><a href="#" onclick="update('TS29577_Nrouter_SMService.yaml')">
SM Service</a></li>
</ul>
<h5>SMS-IWMSC 29.579</h5>
<ul>
<li><a href="#" onclick="update('TS29579_Niwmsc_SMService.yaml')">
SM Service</a></li>
</ul>
<h5>PKMF 29.559</h5>
<ul>
<li><a href="#" onclick="update('TS29559_Npkmf_PKMFKeyRequest.yaml')">
KeyRequest Service</a></li>
</ul>
<h5>PANF 29.553</h5>
<ul>
<li><a href="#" onclick="update('TS29553_Npanf_ProseKey.yaml')">
Prose Key Service</a></li>
</ul>
<br></br>
</nav>
<!-- Add more API links here -->
</div>
<div id="swagger-ui"></div>
<script src="https://unpkg.com/[email protected]/swagger-ui-bundle.js" crossorigin></script>
<script>
let currentRelease = 'Rel-18';
let currentFile = 'TS29518_Namf_Communication.yaml';
function update(updatedFile) {
const selectElement = document.getElementById('release-select');
currentRelease = selectElement.value;
currentFile = updatedFile;
load(currentRelease, currentFile); // Load the corresponding file for the selected release
}
function load(loadRelease, loadFile) {
console.log('Load: ', loadRelease, loadFile, window.location.href);
window.ui = SwaggerUIBundle({
url: loadRelease + '/' + loadFile,
dom_id: '#swagger-ui'
});
}
window.onload = () => {
update(currentFile);
};
const toc = document.getElementById("toc");
const swagger = document.getElementById("swagger-ui");
toc.querySelector("label").addEventListener("click", e => {
toc.classList.toggle("active");
});
toc.querySelector("nav").addEventListener("click", e => {
toc.classList.remove("active");
});
swagger.addEventListener("click", e => {
toc.classList.remove("active");
});
</script>
</body>
</html> |