Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/TIbiaDataDocsV4.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package main

// These documentation-only handlers describe the current v4 API without tying
// These documentation-only handlers describe the v4 API without tying
// its Swagger definitions to the runtime handlers.

// BoostableBosses godoc
Expand Down
2 changes: 1 addition & 1 deletion src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var (
TibiaDataDefaultVoc string = "all"

// TibiaData app flags for running
TibiaDataAPIversion int = 4
TibiaDataAPIversion int = 5
TibiaDataDebug bool
TibiaDataRestrictionMode bool
TibiaDataCacheControl bool = true
Expand Down
4 changes: 2 additions & 2 deletions src/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (

func TestInit(t *testing.T) {
const (
expectedUserAgent = "TibiaData-API/v4 (release/unknown; build/manual; commit/-; edition/open-source)"
expectedUserAgentHost = "TibiaData-API/v4 (release/unknown; build/manual; commit/-; edition/open-source; +https://unittest.example.com)"
expectedUserAgent = "TibiaData-API/v5 (release/unknown; build/manual; commit/-; edition/open-source)"
expectedUserAgentHost = "TibiaData-API/v5 (release/unknown; build/manual; commit/-; edition/open-source; +https://unittest.example.com)"
)

TibiaDataHost = ""
Expand Down
2 changes: 1 addition & 1 deletion src/webserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ func runWebServer() {
})
})

// TibiaData API version 4 endpoints
// TibiaData API version 4 and 5 endpoints
registerAPIVersions(router)

// Container version details endpoint
Expand Down
Loading