-
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
feat: add generation of type description to schema (#708) #1106
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1106 +/- ##
==========================================
+ Coverage 94.47% 94.59% +0.12%
==========================================
Files 9 9
Lines 2316 2370 +54
==========================================
+ Hits 2188 2242 +54
Misses 67 67
Partials 61 61
Continue to review full report at Codecov.
|
@KuboOrk, would you mind adding a test case so code coverage will get back to positive? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job till now. Please see my comments regarding code styling.
- moved "if" statement out of the method - renamed fillDefinition → fillDefinitionDescription
- increase code readability by union conditions - moved result variable declaration inside function body
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@KuboOrk Thanks for your contribution! |
Describe the PR
Added "description" field generation for swagger scheme from struct documentation
Relation issue
#708
Additional context
None