mirror of
https://github.com/gotify/server.git
synced 2026-05-21 08:41:25 +08:00
23 lines
389 B
Go
23 lines
389 B
Go
package model
|
|
|
|
// GotifyInfo Model
|
|
//
|
|
// swagger:model GotifyInfo
|
|
type GotifyInfo struct {
|
|
// The current version.
|
|
//
|
|
// required: true
|
|
// example: 5.2.6
|
|
Version string `json:"version"`
|
|
// If registration is enabled.
|
|
//
|
|
// required: true
|
|
// example: true
|
|
Register bool `json:"register"`
|
|
// If oidc is enabled.
|
|
//
|
|
// required: true
|
|
// example: true
|
|
Oidc bool `json:"oidc"`
|
|
}
|