Skip to content

Commit c67a656

Browse files
committed
Fix swagger
1 parent a890712 commit c67a656

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

www/api/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@
3939
window.onload = function() {
4040
// Begin Swagger UI call region
4141
const ui = SwaggerUIBundle({
42-
url: "https://petstore.swagger.io/v2/swagger.json",
42+
url: "openapi.yaml",
43+
defaultModelsExpandDepth: 0,
44+
displayRequestDuration: true,
4345
dom_id: '#swagger-ui',
4446
deepLinking: true,
4547
presets: [

0 commit comments

Comments
 (0)