mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-31 07:43:33 +00:00 
			
		
		
		
	Swagger/openapi schema mega fixes and Cypress validation/enforcement
This commit is contained in:
		| @@ -1,16 +1,19 @@ | ||||
| { | ||||
| 	"operationId": "getProxyHost", | ||||
| 	"summary": "Get a Proxy Host", | ||||
| 	"tags": ["Proxy Hosts"], | ||||
| 	"tags": ["proxy-hosts"], | ||||
| 	"security": [ | ||||
| 		{ | ||||
| 			"BearerAuth": ["proxy_hosts"] | ||||
| 			"bearerAuth": [ | ||||
| 				"proxy_hosts.view" | ||||
| 			] | ||||
| 		} | ||||
| 	], | ||||
| 	"parameters": [ | ||||
| 		{ | ||||
| 			"in": "path", | ||||
| 			"name": "hostID", | ||||
| 			"description": "The ID of the Proxy Host", | ||||
| 			"schema": { | ||||
| 				"type": "integer", | ||||
| 				"minimum": 1 | ||||
| @@ -27,13 +30,15 @@ | ||||
| 					"examples": { | ||||
| 						"default": { | ||||
| 							"value": { | ||||
| 								"id": 1, | ||||
| 								"created_on": "2024-10-08T23:23:03.000Z", | ||||
| 								"modified_on": "2024-10-08T23:26:38.000Z", | ||||
| 								"id": 3, | ||||
| 								"created_on": "2025-10-30T01:12:05.000Z", | ||||
| 								"modified_on": "2025-10-30T01:12:05.000Z", | ||||
| 								"owner_user_id": 1, | ||||
| 								"domain_names": ["test.example.com"], | ||||
| 								"forward_host": "192.168.0.10", | ||||
| 								"forward_port": 8989, | ||||
| 								"domain_names": [ | ||||
| 									"test.example.com" | ||||
| 								], | ||||
| 								"forward_host": "127.0.0.1", | ||||
| 								"forward_port": 8080, | ||||
| 								"access_list_id": 0, | ||||
| 								"certificate_id": 0, | ||||
| 								"ssl_forced": false, | ||||
| @@ -48,9 +53,22 @@ | ||||
| 								"http2_support": false, | ||||
| 								"forward_scheme": "http", | ||||
| 								"enabled": true, | ||||
| 								"locations": null, | ||||
| 								"locations": [], | ||||
| 								"hsts_enabled": false, | ||||
| 								"hsts_subdomains": false | ||||
| 								"hsts_subdomains": false, | ||||
| 								"owner": { | ||||
| 									"id": 1, | ||||
| 									"created_on": "2025-10-28T00:50:24.000Z", | ||||
| 									"modified_on": "2025-10-28T00:50:24.000Z", | ||||
| 									"is_disabled": false, | ||||
| 									"email": "jc@jc21.com", | ||||
| 									"name": "jamiec", | ||||
| 									"nickname": "jamiec", | ||||
| 									"avatar": "//www.gravatar.com/avatar/6193176330f8d38747f038c170ddb193?default=mm", | ||||
| 									"roles": [ | ||||
| 										"admin" | ||||
| 									] | ||||
| 								} | ||||
| 							} | ||||
| 						} | ||||
| 					}, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user