mirror of
https://github.com/pushbits/server.git
synced 2025-07-29 22:37:26 +02:00
basic openapi docu
This commit is contained in:
parent
9c22816495
commit
db9eaa796a
2 changed files with 23 additions and 1 deletions
|
@ -26,6 +26,19 @@ func setupCleanup(db *database.Database, dp *dispatcher.Dispatcher) {
|
|||
}()
|
||||
}
|
||||
|
||||
// @title PushBits Server API Documentation
|
||||
// @version 1.0
|
||||
// @description Documentation for the PushBits server API.
|
||||
|
||||
// TODO add inprint and contact?
|
||||
// @contact.name API Support
|
||||
// @contact.url http://www.swagger.io/support
|
||||
|
||||
// @host your-domain.net
|
||||
// @BasePath /
|
||||
// @query.collection.format multi
|
||||
|
||||
// @securityDefinitions.basic BasicAuth
|
||||
func main() {
|
||||
log.Println("Starting PushBits.")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue