-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Error on Mac OS X When Generating Spec #1560
Comments
@nathanwilk7 Am getting the same error. Were you able to find a resolution? Thanks! |
From the go 1.10 release notes:
https://github.com/google/certificate-transparency-go/pull/155/files |
I was able to get the HEAD of go-swagger to run successfully as follows: brew uninstall --force go-swagger
mkdir ~/go-tools
cd ~/go-tools
export GOPATH=~/go-tools
go get github.com/go-swagger/go-swagger
cd src/github.com/go-swagger/go-swagger
go build cmd/swagger/swagger.go The |
It worked for me. I was having issues with math.Round and compiling from HEAD fixed it. |
just run
it worked for me |
Problem statement
When I run
swagger generate spec -o ./swagger.json
in https://github.com/go-swagger/go-swagger/tree/master/examples/tutorials/custom-server/cmd/greeter, I get the error belowSteps to reproduce
Environment
swagger version
version: 0.14.0
commit: 25e637c
go version: 1.8.1 darwin/amd64
OS: macOS 10.13.4
The text was updated successfully, but these errors were encountered: