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 data type for json #65

Closed
pei0804 opened this issue Mar 6, 2018 · 0 comments · Fixed by #102
Closed

Add data type for json #65

pei0804 opened this issue Mar 6, 2018 · 0 comments · Fixed by #102
Labels

Comments

@pei0804
Copy link
Member

pei0804 commented Mar 6, 2018

type Tag struct {
	ID    int64       `json:"id"`
	Name  string    `json:"name"`
	Data  time.Time `json:"data"`
}
 type: "object"
  properties:
    id:
     type: "integer"
     format: "int64"

Doc: https://swagger.io/specification/#dataTypeFormat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants