mirror of
				https://github.com/teamhanko/hanko.git
				synced 2025-11-01 00:58:16 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			30 lines
		
	
	
		
			812 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			812 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <html>
 | |
| <head>
 | |
|   <!-- Load the latest Swagger UI code and style from npm using unpkg.com -->
 | |
|   <script src="https://unpkg.com/swagger-ui-dist@3/swagger-ui-bundle.js"></script>
 | |
|   <link rel="stylesheet" type="text/css" href="https://unpkg.com/swagger-ui-dist@3/swagger-ui.css"/>
 | |
|   <title>Hanko</title>
 | |
| </head>
 | |
| <body>
 | |
| <div id="swagger-ui"></div> <!-- Div to hold the UI component -->
 | |
| <script>
 | |
|   window.onload = function () {
 | |
|     // Begin Swagger UI call region
 | |
|     const ui = SwaggerUIBundle({
 | |
|       url: "spec/api.yaml",
 | |
|       dom_id: '#swagger-ui',
 | |
|       deepLinking: true,
 | |
|       presets: [
 | |
|         SwaggerUIBundle.presets.apis,
 | |
|         SwaggerUIBundle.SwaggerUIStandalonePreset
 | |
|       ],
 | |
|       plugins: [
 | |
|         SwaggerUIBundle.plugins.DownloadUrl
 | |
|       ],
 | |
|     })
 | |
|     window.ui = ui
 | |
|   }
 | |
| </script>
 | |
| </body>
 | |
| </html>
 | 
