-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Operation description gets appended to general info if they share the same file #340
Labels
Comments
Thank you! |
PR has been merged - thanks to the maintainers. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
Swag version 1.4.1.
If general API info is in the same file as operations, then the @description tag of operations will also get appended to the general info. I think this was introduced after adding support for multiline @description in the general API.
Example
Code in the same file:
After
swag init
, it will generate this description for the general API:And the operation's description itself will be correct:
The text was updated successfully, but these errors were encountered: