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

Feature Request: Override default tag attribute #42

Closed
bmudda opened this issue May 28, 2020 · 2 comments
Closed

Feature Request: Override default tag attribute #42

bmudda opened this issue May 28, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@bmudda
Copy link
Collaborator

bmudda commented May 28, 2020

Currently, the Controller name is being used for the tags attribute. As you suggested, can you please add @SwagTag(name="myTag") to override the default?

@cnizzardini cnizzardini self-assigned this May 28, 2020
@cnizzardini cnizzardini added the enhancement New feature or request label May 28, 2020
@cnizzardini cnizzardini added this to the 1.3 milestone May 28, 2020
@cnizzardini
Copy link
Owner

Yes, but will use the existing SwagOperation annotation: @SwagOperation(tagName="MyTag")

cnizzardini added a commit that referenced this issue May 28, 2020
- Added `@SwagOperation(tagNames=array)` which accepts the annotation
array syntax `{"el 1", "el 2"}`
- Added unit test
- Updated readme
@cnizzardini
Copy link
Owner

Added @SwagOperation(tagNames=array)

Example:

@SwagOperation(tagNames={"MyTag","YourTag","OurTag"})

cnizzardini added a commit that referenced this issue May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants