Skip to content

Conversation

@cx-emerge
Copy link

@cx-emerge cx-emerge commented Feb 25, 2025

What/Why/How?

Uniqueness of group ID when special characters exist in tags

...
      tags:
        - (RFC2544)配置管理
...
      tags:
        - (RFC2544)依赖管理
...

When the above content appears in the tags of OpenAPI, the safeSlugify function will replace them with the same content (RFC2544).
This will result in different content generating the same ID.

Reference

null

Tests

Add an API with the above tags content in museum.yaml, and click the left menu to check if it can expand properly.

Screenshots (optional)

null

Check yourself

  • Code is linted
  • Tested
  • All new/updated code is covered with tests

@cx-emerge cx-emerge requested a review from a team as a code owner February 25, 2025 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant