Skip to content

请求参数导入到yapi中,示例栏取得是@RequestParam的defaultValue属性对应的值 #46

@whiteS18

Description

@whiteS18

使用插件导入到yapi中后,请求参数那一块,示例这一栏取得是代码中 @RequestParam 注解中defaultValue属性对应的值,但是如果defaultValue为空,示例就不会显示内容了,如果要写示例值就只能写在注释那里了,有什么其他方法来实现吗?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions