mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-06-18 18:16:26 +00:00
Fix swagger doc and rename references for time db fields
This commit is contained in:
@ -4,8 +4,8 @@
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"id",
|
||||
"created_on",
|
||||
"modified_on",
|
||||
"created_at",
|
||||
"updated_at",
|
||||
"name",
|
||||
"acmesh_server",
|
||||
"ca_bundle",
|
||||
@ -18,13 +18,15 @@
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"created_on": {
|
||||
"created_at": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
"minimum": 1,
|
||||
"description": "Created Unix time with milliseconds"
|
||||
},
|
||||
"modified_on": {
|
||||
"updated_at": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
"minimum": 1,
|
||||
"description": "Updated Unix time with milliseconds"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
|
@ -4,8 +4,8 @@
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"id",
|
||||
"created_on",
|
||||
"modified_on",
|
||||
"created_at",
|
||||
"updated_at",
|
||||
"expires_on",
|
||||
"type",
|
||||
"user_id",
|
||||
@ -21,13 +21,15 @@
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"created_on": {
|
||||
"created_at": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
"minimum": 1,
|
||||
"description": "Created Unix time with milliseconds"
|
||||
},
|
||||
"modified_on": {
|
||||
"updated_at": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
"minimum": 1,
|
||||
"description": "Updated Unix time with milliseconds"
|
||||
},
|
||||
"expires_on": {
|
||||
"type": "integer",
|
||||
|
@ -4,8 +4,8 @@
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"id",
|
||||
"created_on",
|
||||
"modified_on",
|
||||
"created_at",
|
||||
"updated_at",
|
||||
"user_id",
|
||||
"name",
|
||||
"acmesh_name",
|
||||
@ -17,13 +17,15 @@
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"created_on": {
|
||||
"created_at": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
"minimum": 1,
|
||||
"description": "Created Unix time with milliseconds"
|
||||
},
|
||||
"modified_on": {
|
||||
"updated_at": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
"minimum": 1,
|
||||
"description": "Updated Unix time with milliseconds"
|
||||
},
|
||||
"user_id": {
|
||||
"type": "integer",
|
||||
|
@ -4,8 +4,8 @@
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"id",
|
||||
"created_on",
|
||||
"modified_on",
|
||||
"created_at",
|
||||
"updated_at",
|
||||
"expires_on",
|
||||
"user_id",
|
||||
"provider",
|
||||
@ -17,13 +17,15 @@
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"created_on": {
|
||||
"created_at": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
"minimum": 1,
|
||||
"description": "Created Unix time with milliseconds"
|
||||
},
|
||||
"modified_on": {
|
||||
"updated_at": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
"minimum": 1,
|
||||
"description": "Updated Unix time with milliseconds"
|
||||
},
|
||||
"expires_on": {
|
||||
"type": "integer",
|
||||
|
@ -4,8 +4,8 @@
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"id",
|
||||
"created_on",
|
||||
"modified_on",
|
||||
"created_at",
|
||||
"updated_at",
|
||||
"user_id",
|
||||
"name",
|
||||
"type",
|
||||
@ -16,13 +16,15 @@
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"created_on": {
|
||||
"created_at": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
"minimum": 1,
|
||||
"description": "Created Unix time with milliseconds"
|
||||
},
|
||||
"modified_on": {
|
||||
"updated_at": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
"minimum": 1,
|
||||
"description": "Updated Unix time with milliseconds"
|
||||
},
|
||||
"user_id": {
|
||||
"type": "integer",
|
||||
|
@ -2,19 +2,21 @@
|
||||
"type": "object",
|
||||
"description": "SettingObject",
|
||||
"additionalProperties": false,
|
||||
"required": ["id", "name", "value"],
|
||||
"required": ["id", "created_at", "updated_at", "name", "value"],
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"created_on": {
|
||||
"created_at": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
"minimum": 1,
|
||||
"description": "Created Unix time with milliseconds"
|
||||
},
|
||||
"modified_on": {
|
||||
"updated_at": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
"minimum": 1,
|
||||
"description": "Updated Unix time with milliseconds"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
|
@ -4,8 +4,8 @@
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"id",
|
||||
"created_on",
|
||||
"modified_on",
|
||||
"created_at",
|
||||
"updated_at",
|
||||
"expires_on",
|
||||
"user_id",
|
||||
"provider",
|
||||
@ -17,13 +17,15 @@
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"created_on": {
|
||||
"created_at": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
"minimum": 1,
|
||||
"description": "Created Unix time with milliseconds"
|
||||
},
|
||||
"modified_on": {
|
||||
"updated_at": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
"minimum": 1,
|
||||
"description": "Updated Unix time with milliseconds"
|
||||
},
|
||||
"expires_on": {
|
||||
"type": "integer",
|
||||
|
@ -4,8 +4,8 @@
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"id",
|
||||
"created_on",
|
||||
"modified_on",
|
||||
"created_at",
|
||||
"updated_at",
|
||||
"user_id",
|
||||
"name",
|
||||
"nginx_template_id",
|
||||
@ -25,13 +25,15 @@
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"created_on": {
|
||||
"created_at": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
"minimum": 1,
|
||||
"description": "Created Unix time with milliseconds"
|
||||
},
|
||||
"modified_on": {
|
||||
"updated_at": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
"minimum": 1,
|
||||
"description": "Updated Unix time with milliseconds"
|
||||
},
|
||||
"user_id": {
|
||||
"type": "integer",
|
||||
@ -83,8 +85,8 @@
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"id",
|
||||
"created_on",
|
||||
"modified_on",
|
||||
"created_at",
|
||||
"updated_at",
|
||||
"upstream_id",
|
||||
"server",
|
||||
"weight",
|
||||
@ -98,13 +100,15 @@
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"created_on": {
|
||||
"created_at": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
"minimum": 1,
|
||||
"description": "Created Unix time with milliseconds"
|
||||
},
|
||||
"modified_on": {
|
||||
"updated_at": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
"minimum": 1,
|
||||
"description": "Updated Unix time with milliseconds"
|
||||
},
|
||||
"upstream_id": {
|
||||
"type": "integer",
|
||||
|
@ -2,12 +2,22 @@
|
||||
"type": "object",
|
||||
"description": "UserAuthObject",
|
||||
"additionalProperties": false,
|
||||
"required": ["id", "user_id", "type", "created_on", "modified_on"],
|
||||
"required": ["id", "user_id", "type", "created_at", "updated_at"],
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"created_at": {
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"description": "Created Unix time with milliseconds"
|
||||
},
|
||||
"updated_at": {
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"description": "Updated Unix time with milliseconds"
|
||||
},
|
||||
"user_id": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
@ -15,14 +25,6 @@
|
||||
"type": {
|
||||
"type": "string",
|
||||
"pattern": "^password$"
|
||||
},
|
||||
"created_on": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"modified_on": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -4,11 +4,11 @@
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"id",
|
||||
"created_at",
|
||||
"updated_at",
|
||||
"name",
|
||||
"nickname",
|
||||
"email",
|
||||
"created_on",
|
||||
"modified_on",
|
||||
"is_disabled"
|
||||
],
|
||||
"properties": {
|
||||
@ -16,6 +16,16 @@
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"created_at": {
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"description": "Created Unix time with milliseconds"
|
||||
},
|
||||
"updated_at": {
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"description": "Updated Unix time with milliseconds"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"minLength": 2,
|
||||
@ -31,14 +41,6 @@
|
||||
"minLength": 5,
|
||||
"maxLength": 150
|
||||
},
|
||||
"created_on": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"modified_on": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"gravatar_url": {
|
||||
"type": "string"
|
||||
},
|
||||
|
Reference in New Issue
Block a user