for-swagger

command module
v0.0.0-...-1276dd2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2017 License: MIT Imports: 7 Imported by: 0

README

For Swagger

Special repo for testing swagger docs generation

https://github.com/labstack/echo as web server and

https://github.com/go-xorm/xorm as a database ORM

Installation

Dependencies

There is still no vendoring here. Waiting for https://github.com/golang/dep

So ...

go get -u github.com/BurntSushi/toml
go get -u github.com/labstack/echo
go get -u github.com/labstack/echo/middleware
go get -u github.com/mattn/go-sqlite3
go get -u github.com/go-xorm/xorm
go get -u golang.org/x/crypto/bcrypt
go get -u github.com/onsi/ginkgo
go get -u github.com/onsi/gomega
go get -u github.com/go-resty/resty
go get -u github.com/go-testfixtures/testfixtures

Hope that nothing is missed.

Application

go install github.com/corvinusz/for-swagger

Database

Currently is using sqlite3-database, located in file /tmp/for-swagger.sqlite.db

Documentation

Generating from source code by go-swagger

go get -u github.com/go-swagger/go-swagger
cd $GOPATH/src/github.com/corvinusz/for-swagger
swagger generate spec -o ./swagger.json && swagger validate ./swagger.json
swagger serve ./swagger.json

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package server ...
Package server ...
groups
Package groups ...
Package groups ...
users
Package users ...
Package users ...
version
Package version ...
Package version ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL