mirror of
https://github.com/gotify/server.git
synced 2026-05-06 21:42:07 +08:00
Use int64 instead of uint64
uint64 isn't a valid swagger format. https://swagger.io/specification/v2/#dataTypeFormat
This commit is contained in:
@@ -1894,7 +1894,7 @@
|
||||
"id": {
|
||||
"description": "The application id.",
|
||||
"type": "integer",
|
||||
"format": "uint64",
|
||||
"format": "int64",
|
||||
"x-go-name": "ID",
|
||||
"readOnly": true,
|
||||
"example": 5
|
||||
@@ -1942,7 +1942,7 @@
|
||||
"id": {
|
||||
"description": "The client id.",
|
||||
"type": "integer",
|
||||
"format": "uint64",
|
||||
"format": "int64",
|
||||
"x-go-name": "ID",
|
||||
"readOnly": true,
|
||||
"example": 5
|
||||
@@ -2033,7 +2033,7 @@
|
||||
"appid": {
|
||||
"description": "The application id that send this message.",
|
||||
"type": "integer",
|
||||
"format": "uint64",
|
||||
"format": "int64",
|
||||
"x-go-name": "ApplicationID",
|
||||
"readOnly": true,
|
||||
"example": 5
|
||||
@@ -2065,7 +2065,7 @@
|
||||
"id": {
|
||||
"description": "The message id.",
|
||||
"type": "integer",
|
||||
"format": "uint64",
|
||||
"format": "int64",
|
||||
"x-go-name": "ID",
|
||||
"readOnly": true,
|
||||
"example": 25
|
||||
@@ -2147,7 +2147,7 @@
|
||||
"since": {
|
||||
"description": "The ID of the last message returned in the current request. Use this as alternative to the next link.",
|
||||
"type": "integer",
|
||||
"format": "uint64",
|
||||
"format": "int64",
|
||||
"minimum": 0,
|
||||
"x-go-name": "Since",
|
||||
"readOnly": true,
|
||||
@@ -2205,7 +2205,7 @@
|
||||
"id": {
|
||||
"description": "The plugin id.",
|
||||
"type": "integer",
|
||||
"format": "uint64",
|
||||
"format": "int64",
|
||||
"x-go-name": "ID",
|
||||
"readOnly": true,
|
||||
"example": 25
|
||||
@@ -2266,7 +2266,7 @@
|
||||
"id": {
|
||||
"description": "The user id.",
|
||||
"type": "integer",
|
||||
"format": "uint64",
|
||||
"format": "int64",
|
||||
"x-go-name": "ID",
|
||||
"readOnly": true,
|
||||
"example": 25
|
||||
@@ -2318,7 +2318,7 @@
|
||||
"id": {
|
||||
"description": "The user id.",
|
||||
"type": "integer",
|
||||
"format": "uint64",
|
||||
"format": "int64",
|
||||
"x-go-name": "ID",
|
||||
"readOnly": true,
|
||||
"example": 25
|
||||
|
||||
Reference in New Issue
Block a user