easy-yapi icon indicating copy to clipboard operation
easy-yapi copied to clipboard

[Bug] YAPI网站设置中的接口基本路径,与生成的接口路径有重复

Open Muscleape opened this issue 3 years ago • 1 comments

YAPI网站设置中的接口基本路径

image

生成的问题的路径示例

image

Muscleape avatar Jul 25 '22 09:07 Muscleape

如果你希望导出到yapi时移除一段前缀,可以试试这样配:

export.after=groovy:api.setPath(tool.removePrefix(api.path(),"/xxx"))

tangcent avatar Jul 25 '22 11:07 tangcent

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 16 '22 04:08 stale[bot]