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

Update non required annotation format #84

Merged
merged 1 commit into from
Mar 30, 2018
Merged

Update non required annotation format #84

merged 1 commit into from
Mar 30, 2018

Conversation

pei0804
Copy link
Member

@pei0804 pei0804 commented Mar 29, 2018

I adopted a simple notation without disturbing the current notation.

Now Notation.

// @Param int query int false "int enums" +Enums(1, 2, 3)

Notation after merge this PR.

// @Param int query int false "int enums" Enums(1, 2, 3)

Notation to be added in the future.

// @Param int query int false "int enums" Enums(1, 2, 3) default(0) minnum(1) maxnum(10)

@codecov-io
Copy link

codecov-io commented Mar 29, 2018

Codecov Report

Merging #84 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #84   +/-   ##
=======================================
  Coverage   86.91%   86.91%           
=======================================
  Files           5        5           
  Lines         657      657           
=======================================
  Hits          571      571           
  Misses         54       54           
  Partials       32       32
Impacted Files Coverage Δ
operation.go 95.23% <ø> (ø) ⬆️

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 fc1a774...9a535be. Read the comment docs.

@pei0804 pei0804 changed the title Update non required annotation format []Update non required annotation format Mar 29, 2018
@pei0804 pei0804 changed the title []Update non required annotation format [wip]Update non required annotation format Mar 29, 2018
@pei0804 pei0804 changed the title [wip]Update non required annotation format Update non required annotation format Mar 29, 2018
@easonlin404 easonlin404 merged commit 74b6d10 into swaggo:master Mar 30, 2018
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.

3 participants