From 59a291e8cb99ae3bd308cd6f7f21661097d81ad3 Mon Sep 17 00:00:00 2001 From: Mathysv Date: Fri, 24 Nov 2023 11:56:35 +0100 Subject: [PATCH] feat(swaggerUI): add displayOperationId option in swaggerUI --- packages/whook-swagger-ui/src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/whook-swagger-ui/src/index.ts b/packages/whook-swagger-ui/src/index.ts index 02c0f333..84ff20b3 100644 --- a/packages/whook-swagger-ui/src/index.ts +++ b/packages/whook-swagger-ui/src/index.ts @@ -102,7 +102,8 @@ window.onload = function() { ? `, {"name":"Private API","url":"${ publicSwaggerURL + '?access_token=' + - encodeURIComponent(DEV_ACCESS_TOKEN) + encodeURIComponent(DEV_ACCESS_TOKEN) + + '?displayOperationId=true' }"}` : '' }],