API for the easypoll application
DO NOT edit files in docs
folder, they are regenerated everytime the schema changes
# run server
go run cmd/easypoll-server/main.go --scheme http --port 3000
# build server
go build cmd/easypoll-server/main.go
Start the server and go to http://localhost:3000/v1/docs
You should always update swagger.yml
first, then regenerate docs with
go generate ./restapi
- go-swagger - Swagger 2.0 implementation for go
Contributions are greatly appreciated. Please fork this repository and open a pull request to add snippets, make grammar tweaks, improve project structure, etc.