Skip to content

I have a problem with golang.org/x/text/unicode/bidi when I call the command swag init #2098

@chelnik

Description

@chelnik

Describe the bug
I have a problem with golang.org/x/text/unicode/bidi

when I call the command
swag init -parseDependency -parseInternal -parsing depth 1 -g cmd/main.go -o api/swagger -q

To Reproduce
Steps to reproduce the behavior:

when I call the command:
swag init --parseDependency --parseInternal --parseDepth 1 -g cmd/main.go -o api/swagger -q

I get the result:
missing go.sum entry for module providing package golang.org/x/text/unicode/bidi; to add:
go mod download golang.org/x/text
missing go.sum entry for module providing package golang.org/x/text/unicode/bidi; to add:
go mod download golang.org/x/text

Expected behavior
this text should not be displayed.

Screenshots
If applicable, add screenshots to

Image Image Image

help explain your problem.

Your swag version
swag version v1.16.4

Your go version
1.25.2

Desktop (please complete the following information):

golang version 1.25.2

macbook
iOS
os sonoma 14.1 (23B74)

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