mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-30 15:23:34 +00:00 
			
		
		
		
	Add missing json schema types
This commit is contained in:
		| @@ -7,34 +7,28 @@ | ||||
| 		"version": { | ||||
| 			"type": "string", | ||||
| 			"description": "Version", | ||||
| 			"example": "3.0.0", | ||||
| 			"minLength": 1 | ||||
| 		}, | ||||
| 		"commit": { | ||||
| 			"type": "string", | ||||
| 			"description": "Commit hash", | ||||
| 			"example": "946b88f", | ||||
| 			"minLength": 7 | ||||
| 		}, | ||||
| 		"healthy": { | ||||
| 			"type": "boolean", | ||||
| 			"description": "Healthy?", | ||||
| 			"example": true | ||||
| 			"description": "Healthy?" | ||||
| 		}, | ||||
| 		"setup": { | ||||
| 			"type": "boolean", | ||||
| 			"description": "Is the application set up?", | ||||
| 			"example": true | ||||
| 			"description": "Is the application set up?" | ||||
| 		}, | ||||
| 		"error_reporting": { | ||||
| 			"type": "boolean", | ||||
| 			"description": "Will the application send any error reporting?", | ||||
| 			"example": true | ||||
| 			"description": "Will the application send any error reporting?" | ||||
| 		}, | ||||
| 		"acme.sh": { | ||||
| 			"type": "string", | ||||
| 			"description": "Acme.sh version", | ||||
| 			"example": "v3.0.0", | ||||
| 			"minLength": 1 | ||||
| 		} | ||||
| 	} | ||||
|   | ||||
| @@ -7,13 +7,11 @@ | ||||
| 		"expires": { | ||||
| 			"type": "number", | ||||
| 			"description": "Token Expiry Unix Time", | ||||
| 			"example": 1566540249, | ||||
| 			"minimum": 1 | ||||
| 		}, | ||||
| 		"token": { | ||||
| 			"type": "string", | ||||
| 			"description": "JWT Token", | ||||
| 			"example": "eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.ey...xaHKYr3Kk6MvkUjcC4" | ||||
| 			"description": "JWT Token" | ||||
| 		} | ||||
| 	} | ||||
| } | ||||
|   | ||||
| @@ -21,6 +21,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -30,6 +30,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -37,6 +37,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -17,6 +17,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -21,6 +21,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -30,6 +30,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -37,6 +37,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -17,6 +17,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -7,9 +7,8 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"required": [ | ||||
| 							"result" | ||||
| 						], | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
| 								"$ref": "#/components/schemas/ConfigObject" | ||||
| @@ -33,4 +32,4 @@ | ||||
| 			} | ||||
| 		} | ||||
| 	} | ||||
| } | ||||
| } | ||||
|   | ||||
| @@ -37,6 +37,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -17,6 +17,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -21,6 +21,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -30,6 +30,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -7,9 +7,8 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"required": [ | ||||
| 							"result" | ||||
| 						], | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
| 								"$ref": "#/components/schemas/HealthObject" | ||||
| @@ -44,4 +43,4 @@ | ||||
| 			} | ||||
| 		} | ||||
| 	} | ||||
| } | ||||
| } | ||||
|   | ||||
| @@ -37,6 +37,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -21,6 +21,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -21,6 +21,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -30,6 +30,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -17,6 +17,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -37,6 +37,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -17,6 +17,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -21,6 +21,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -30,6 +30,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -37,6 +37,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -21,6 +21,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -30,6 +30,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -17,6 +17,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -1,9 +1,7 @@ | ||||
| { | ||||
| 	"operationId": "getStreams", | ||||
| 	"summary": "Get a list of Streams", | ||||
| 	"tags": [ | ||||
| 		"Streams" | ||||
| 	], | ||||
| 	"tags": ["Streams"], | ||||
| 	"parameters": [ | ||||
| 		{ | ||||
| 			"in": "query", | ||||
| @@ -39,9 +37,8 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"required": [ | ||||
| 							"result" | ||||
| 						], | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
| 								"$ref": "#/components/schemas/StreamList" | ||||
| @@ -61,9 +58,7 @@ | ||||
| 											"direction": "ASC" | ||||
| 										} | ||||
| 									], | ||||
| 									"items": [ | ||||
| 										"TODO" | ||||
| 									] | ||||
| 									"items": ["TODO"] | ||||
| 								} | ||||
| 							} | ||||
| 						} | ||||
| @@ -72,4 +67,4 @@ | ||||
| 			} | ||||
| 		} | ||||
| 	} | ||||
| } | ||||
| } | ||||
|   | ||||
| @@ -17,6 +17,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -1,9 +1,7 @@ | ||||
| { | ||||
| 	"operationId": "getStream", | ||||
| 	"summary": "Get a Stream object by ID", | ||||
| 	"tags": [ | ||||
| 		"Streams" | ||||
| 	], | ||||
| 	"tags": ["Streams"], | ||||
| 	"parameters": [ | ||||
| 		{ | ||||
| 			"in": "path", | ||||
| @@ -23,9 +21,8 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"required": [ | ||||
| 							"result" | ||||
| 						], | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
| 								"$ref": "#/components/schemas/StreamObject" | ||||
| @@ -43,4 +40,4 @@ | ||||
| 			} | ||||
| 		} | ||||
| 	} | ||||
| } | ||||
| } | ||||
|   | ||||
| @@ -1,9 +1,7 @@ | ||||
| { | ||||
| 	"operationId": "updateStream", | ||||
| 	"summary": "Update an existing Stream", | ||||
| 	"tags": [ | ||||
| 		"Streams" | ||||
| 	], | ||||
| 	"tags": ["Streams"], | ||||
| 	"parameters": [ | ||||
| 		{ | ||||
| 			"in": "path", | ||||
| @@ -32,9 +30,8 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"required": [ | ||||
| 							"result" | ||||
| 						], | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
| 								"$ref": "#/components/schemas/StreamObject" | ||||
| @@ -52,4 +49,4 @@ | ||||
| 			} | ||||
| 		} | ||||
| 	} | ||||
| } | ||||
| } | ||||
|   | ||||
| @@ -8,6 +8,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -17,6 +17,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -8,6 +8,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -37,6 +37,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -17,6 +17,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -21,6 +21,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -21,6 +21,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -30,6 +30,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -37,6 +37,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -38,6 +38,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
| @@ -29,6 +29,7 @@ | ||||
| 			"content": { | ||||
| 				"application/json": { | ||||
| 					"schema": { | ||||
| 						"type": "object", | ||||
| 						"required": ["result"], | ||||
| 						"properties": { | ||||
| 							"result": { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user