Navigation Menu

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

Fix/array enum varnames in arrays #1187

Merged
merged 8 commits into from May 24, 2022

Conversation

Skisocks
Copy link
Contributor

Describe the PR
Fix the how x-enum-varnames are formatted when in an array of enums.
Relation issue
Issue 1186

Additional context
Not sure whether all extensions in arrays should be handled like this so I've just limited it to x-enum-varnames. Added fields to expected json to confirm this.

@codecov
Copy link

codecov bot commented Apr 26, 2022

Codecov Report

Merging #1187 (c281e89) into master (e767abb) will decrease coverage by 0.06%.
The diff coverage is 75.00%.

❗ Current head c281e89 differs from pull request most recent head ddde3a6. Consider uploading reports for the commit ddde3a6 to get more accurate results

@@            Coverage Diff             @@
##           master    #1187      +/-   ##
==========================================
- Coverage   95.02%   94.96%   -0.07%     
==========================================
  Files          12       12              
  Lines        2515     2520       +5     
==========================================
+ Hits         2390     2393       +3     
- Misses         68       69       +1     
- Partials       57       58       +1     
Impacted Files Coverage Δ
field_parser.go 98.54% <75.00%> (-0.57%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e767abb...ddde3a6. Read the comment docs.

ubogdan
ubogdan previously approved these changes May 20, 2022
Copy link
Contributor

@ubogdan ubogdan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@ubogdan ubogdan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ubogdan ubogdan merged commit 67cb768 into swaggo:master May 24, 2022
@ubogdan
Copy link
Contributor

ubogdan commented May 24, 2022

@Skisocks Thanks for your contribution.

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 this pull request may close these issues.

None yet

2 participants