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

add support uuid and special type. #111

Merged
merged 2 commits into from
May 7, 2018
Merged

add support uuid and special type. #111

merged 2 commits into from
May 7, 2018

Conversation

pei0804
Copy link
Member

@pei0804 pei0804 commented May 5, 2018

close #110
close #109

There is a limit to individual correspondence.
I decided to interpret unknown types as strings.
But UUID is popular. So I add supecial support.

@codecov-io
Copy link

codecov-io commented May 5, 2018

Codecov Report

Merging #111 into master will decrease coverage by 0.07%.
The diff coverage is 50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #111      +/-   ##
==========================================
- Coverage   86.63%   86.55%   -0.08%     
==========================================
  Files           5        5              
  Lines         763      766       +3     
==========================================
+ Hits          661      663       +2     
  Misses         62       62              
- Partials       40       41       +1
Impacted Files Coverage Δ
property.go 78.78% <50%> (-1.22%) ⬇️

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 337b594...9b994a3. Read the comment docs.

@easonlin404 easonlin404 self-requested a review May 5, 2018 15:23
@pei0804 pei0804 changed the title add support uuid add support uuid and special type. May 5, 2018
property.go Outdated
}

fmt.Printf("%s is not supported. but It is set with string temporary. Please report any problems.\n", astTypeSelectorExpr.Sel.Name)
return propertyName{SchemaType: "string", ArrayType: "string"}
}
Copy link
Member

@easonlin404 easonlin404 May 5, 2018

Choose a reason for hiding this comment

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

please use fmt.Printf("%s is not supported. but it will be set with string temporary. Please report any problems.", astTypeSelectorExpr.Sel.Name).

@easonlin404 easonlin404 merged commit a0bccab into swaggo:master May 7, 2018
@pei0804 pei0804 deleted the add-sup-uuid branch May 7, 2018 04:05
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.

Please add support for satori/go.uuid Special type and cross package support
3 participants