You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a comment on a struct field with a type alias to another package which also gets replaced, this field's comment will be duplicated to other fields that should not have a comment (or their own comment).
To Reproduce
This examples will demonstrate the issue: See in the swagger.yaml the field b has a description (Comment) but shouldn't.
Describe the bug
When using a comment on a struct field with a type alias to another package which also gets replaced, this field's comment will be duplicated to other fields that should not have a comment (or their own comment).
To Reproduce
This examples will demonstrate the issue: See in the
swagger.yaml
the fieldb
has a description (Comment
) but shouldn't.Run:
swag init --parseDependency --overridesFile ".swaggo" --dir cmd/main --outputTypes yaml
Output:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Your swag version
e.g. 1.8.6
Your go version
e.g. 1.19.1
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: