Skip to content

Swag generate empty path #1780

@flyskea

Description

@flyskea

Describe the bug
generate empty path, but in v1.8.2, it's ok

To Reproduce
Steps to reproduce the behavior:

  1. run command 'swag init -g ./internal/server/http/apiv1.go -dir ./ --parseInternal'

Screenshots
project tree:
image
handler comment:
image:
image

Your swag version
1.16.3

Your go version
1.21.4

Desktop (please complete the following information):

  • OS: ubuntu
  • Version: 20.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions