swagger-ui: Permalinks don’t work: with tags, and `docExpansion: 'none'`, for operations that don’t have an explicit `operationId`.

When we’re setting docExpansion: 'none' in configuration, then giving someone a permalink to a particular endpoint inside a tag, and them clicking it doesn’t do anything for them.

After the page opens for them, all endpoints are still not expanded, as if there was no /#/permalink/part in the URL.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

The _ problem is different, I think (and covered in #4895) - that is rooted in my ill-conceived implementation that escapes whitespace in deep link hashes with _ instead of the now-obvious %20.

my_operation_id, when parsed back into Swagger UI from the hash, becomes my operation id, which fails to match up with anything that Swagger UI knows about.

@michalrus, sure, shoot me an email and I’ll take a look!