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

Please add support for satori/go.uuid #110

Closed
jmcalves275 opened this issue May 4, 2018 · 2 comments · Fixed by #111
Closed

Please add support for satori/go.uuid #110

jmcalves275 opened this issue May 4, 2018 · 2 comments · Fixed by #111

Comments

@jmcalves275
Copy link

I have an error when I run swag init.

account.go

type AccountRequest struct {
   Name     string `json:"name"`
   Email    string `json:"email"`
   Password string `json:"password"`
}

type AccountResponse struct {
	ID    uuid.UUID 'json:"id"'
	Name  string    'json:"name"'
	Email string    'json:"email"'

domain.go

// Create Account godoc
// @Summary Create account
// @Param user body account.AccountRequest true "Name"
// @Accept  json
// @Produce  json
// @Success 201 {object} account.AccountResponse
// @Router /accounts/buyers/ [post]

I got the following error:

panic: not supported 'astSelectorExpr' yet.

It seems that doesn't support uuid.UUID type.

@pei0804
Copy link
Member

pei0804 commented May 5, 2018

I create it.
#111

@easonlin404
Copy link
Member

@jmcalves275 please reopen it if you have any problems.

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 a pull request may close this issue.

3 participants