Closed MikeDirven closed 1 year ago
Issue has been resolved there was another old swagger-ui liberary that imported the swagger-ui webjar version 4.15.5 while yours is using 4.15.0
I have the same issue, the jar is the right version.
2023-03-19T00:41:06.075763177Z 156343 [DefaultDispatcher-worker-11] TRACE io.ktor.routing.Routing - Trace for [docs, index.html]
2023-03-19T00:41:06.075790327Z /, segment:0 -> SUCCESS @ /
2023-03-19T00:41:06.075795139Z /docs, segment:1 -> SUCCESS @ /docs
2023-03-19T00:41:06.075798344Z /docs/(method:GET), segment:1 -> FAILURE "Not all segments matched" @ /docs/(method:GET)
2023-03-19T00:41:06.075801185Z /docs/api.json, segment:1 -> FAILURE "Selector didn't match" @ /docs/api.json
2023-03-19T00:41:06.075804172Z /docs/{filename}, segment:2 -> SUCCESS; Parameters [filename=[index.html]] @ /docs/{filename}
2023-03-19T00:41:06.075807149Z /docs/{filename}/(method:GET), segment:2 -> SUCCESS @ /docs/{filename}/(method:GET)
2023-03-19T00:41:06.075809851Z /login, segment:0 -> FAILURE "Selector didn't match" @ /login
2023-03-19T00:41:06.075812465Z /(authenticate "default"), segment:0 -> SUCCESS @ /(authenticate "default")
2023-03-19T00:41:06.075815320Z /(authenticate "default")/user, segment:0 -> FAILURE "Selector didn't match" @ /(authenticate "default")/user
2023-03-19T00:41:06.075818275Z /, segment:0 -> SUCCESS @ /
2023-03-19T00:41:06.075821062Z /storage, segment:0 -> FAILURE "Selector didn't match" @ /storage
2023-03-19T00:41:06.075823758Z Matched routes:
2023-03-19T00:41:06.075826262Z "" -> "docs" -> "{filename}" -> "(method:GET)"
2023-03-19T00:41:06.075839388Z Route resolve result:
2023-03-19T00:41:06.075842599Z SUCCESS; Parameters [filename=[index.html]] @ /docs/{filename}/(method:GET)
2023-03-19T00:41:06.139270846Z 156407 [DefaultDispatcher-worker-15] TRACE io.ktor.routing.Routing - Trace for [favicon.ico]
2023-03-19T00:41:06.139293204Z /, segment:0 -> SUCCESS @ /
2023-03-19T00:41:06.139295922Z /docs, segment:0 -> FAILURE "Selector didn't match" @ /docs
2023-03-19T00:41:06.139299896Z /login, segment:0 -> FAILURE "Selector didn't match" @ /login
2023-03-19T00:41:06.139302895Z /(authenticate "default"), segment:0 -> SUCCESS @ /(authenticate "default")
2023-03-19T00:41:06.139306072Z /(authenticate "default")/user, segment:0 -> FAILURE "Selector didn't match" @ /(authenticate "default")/user
2023-03-19T00:41:06.139308676Z /, segment:0 -> SUCCESS @ /
2023-03-19T00:41:06.139310976Z /storage, segment:0 -> FAILURE "Selector didn't match" @ /storage
2023-03-19T00:41:06.139316746Z Matched routes:
2023-03-19T00:41:06.139319276Z No results
2023-03-19T00:41:06.139321394Z Route resolve result:
2023-03-19T00:41:06.139324019Z FAILURE "No matched subtrees found" @ /
/docs/api.json
returns an empty json as well.
when trying to go to the swagger documentation the index.html is not found in the webjar. Used version of the liberary: 1.1.0
My configuration: