Skip to content

router: swagger issue,使用group路由, 生成的swagger文檔,有名字重複的,能在前面加個前綴嗎 #4664

@jasonLaw1015

Description

@jasonLaw1015

Go version

go1.25

GoFrame version

2.9.0

Can this bug be reproduced with the latest release?

Option Yes

What did you do?

使用group路由, 生成的swagger文檔,有名字重複的,能在前面加個前綴嗎

如下圖,就router分組不通,裡面用的request是一樣的。
Image

Image

生成swagger 圖片:有什麼辦法在前面加個前綴嗎

Image

What did you see happen?

生成swagger 圖片:有什麼辦法在前面加個前綴嗎

Image

What did you expect to see?

根據router 的group ,在前面加個前綴

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIt is confirmed a bug, but don't worry, we'll handle it.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions