8000 大佬你好,我在routes.go增加Swagger后,在controller中的api文件下写备注信息;在主目录下swag init后 不会有接口信息生成。这个框架是需要增加其他的配置吗? · Issue #3 · gnimli/go-web-mini · GitHub
[go: up one dir, main page]

Skip to content

大佬你好,我在routes.go增加Swagger后,在controller中的api文件下写备注信息;在主目录下swag init后 不会有接口信息生成。这个框架是需要增加其他的配置吗? #3

Open

Description

@fishyu-mushroom

image
image
image

Activity

  1. fishyu-mushroom commented on Jul 17, 2021

    @fishyu-mushroom
    Author

    解决了,是因为没有在main.go文件中定义的原因。
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0