Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x-tagGroups is broken #781

Closed
Nerzal opened this issue Aug 24, 2020 · 0 comments · Fixed by #760
Closed

x-tagGroups is broken #781

Nerzal opened this issue Aug 24, 2020 · 0 comments · Fixed by #760

Comments

@Nerzal
Copy link
Contributor

Nerzal commented Aug 24, 2020

Describe the bug
I tried to add x-tagGroups using the following code.
This results in an error.

Result

2020/08/24 20:28:43 annotation @x-taggroups need a value

To Reproduce
Steps to reproduce the behavior:
Add this anywhere above a main

// @x-tagGroups [{"name":"Natural Persons","tags":["Person","PersonRisk","PersonDocuments"]}]

Expected behavior
No error and extension documentation gets created accordingly.

Your swag version
1.6.7

Your go version
1.14.2

Desktop (please complete the following information):

  • OS: Ubuntu

Additional Info
If i use a wrong name for the extension, it gets generated, but with the wrong name.

Example:

// @x-taggroups [{"name":"Natural Persons","tags":["Person","PersonRisk","PersonDocuments"]}]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant