mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-11-04 01:15:14 +00:00 
			
		
		
		
	Fix swagger doc and rename references for time db fields
This commit is contained in:
		@@ -1,9 +1,7 @@
 | 
			
		||||
{
 | 
			
		||||
	"operationId": "getSetting",
 | 
			
		||||
	"summary": "Get a setting object by name",
 | 
			
		||||
	"tags": [
 | 
			
		||||
		"Settings"
 | 
			
		||||
	],
 | 
			
		||||
	"tags": ["Settings"],
 | 
			
		||||
	"parameters": [
 | 
			
		||||
		{
 | 
			
		||||
			"in": "path",
 | 
			
		||||
@@ -23,9 +21,7 @@
 | 
			
		||||
			"content": {
 | 
			
		||||
				"application/json": {
 | 
			
		||||
					"schema": {
 | 
			
		||||
						"required": [
 | 
			
		||||
							"result"
 | 
			
		||||
						],
 | 
			
		||||
						"required": ["result"],
 | 
			
		||||
						"properties": {
 | 
			
		||||
							"result": {
 | 
			
		||||
								"$ref": "#/components/schemas/SettingObject"
 | 
			
		||||
@@ -37,8 +33,8 @@
 | 
			
		||||
							"value": {
 | 
			
		||||
								"result": {
 | 
			
		||||
									"id": 2,
 | 
			
		||||
									"created_on": 1578010090,
 | 
			
		||||
									"modified_on": 1578010095,
 | 
			
		||||
									"created_at": 1578010090000,
 | 
			
		||||
									"updated_at": 1578010095000,
 | 
			
		||||
									"name": "default-site",
 | 
			
		||||
									"value": {
 | 
			
		||||
										"html": "<p>not found</p>",
 | 
			
		||||
@@ -52,4 +48,4 @@
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,9 +1,7 @@
 | 
			
		||||
{
 | 
			
		||||
	"operationId": "updateSetting",
 | 
			
		||||
	"summary": "Update an existing Setting",
 | 
			
		||||
	"tags": [
 | 
			
		||||
		"Settings"
 | 
			
		||||
	],
 | 
			
		||||
	"tags": ["Settings"],
 | 
			
		||||
	"parameters": [
 | 
			
		||||
		{
 | 
			
		||||
			"in": "path",
 | 
			
		||||
@@ -32,9 +30,7 @@
 | 
			
		||||
			"content": {
 | 
			
		||||
				"application/json": {
 | 
			
		||||
					"schema": {
 | 
			
		||||
						"required": [
 | 
			
		||||
							"result"
 | 
			
		||||
						],
 | 
			
		||||
						"required": ["result"],
 | 
			
		||||
						"properties": {
 | 
			
		||||
							"result": {
 | 
			
		||||
								"$ref": "#/components/schemas/SettingObject"
 | 
			
		||||
@@ -46,8 +42,8 @@
 | 
			
		||||
							"value": {
 | 
			
		||||
								"result": {
 | 
			
		||||
									"id": 2,
 | 
			
		||||
									"created_on": 1578010090,
 | 
			
		||||
									"modified_on": 1578010090,
 | 
			
		||||
									"created_at": 1578010090000,
 | 
			
		||||
									"updated_at": 1578010090000,
 | 
			
		||||
									"name": "default-site",
 | 
			
		||||
									"value": {
 | 
			
		||||
										"html": "<p>not found</p>",
 | 
			
		||||
@@ -61,4 +57,4 @@
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user