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:
		| @@ -21,7 +21,8 @@ | ||||
| 		}, | ||||
| 		"nice_name": { | ||||
| 			"type": "string", | ||||
| 			"description": "Nice Name for the custom certificate" | ||||
| 			"description": "Nice Name for the custom certificate", | ||||
| 			"example": "My Custom Cert" | ||||
| 		}, | ||||
| 		"domain_names": { | ||||
| 			"description": "Domain Names separated by a comma", | ||||
| @@ -31,12 +32,14 @@ | ||||
| 			"items": { | ||||
| 				"type": "string", | ||||
| 				"pattern": "^[^&| @!#%^();:/\\\\}{=+?<>,~`'\"]+$" | ||||
| 			} | ||||
| 			}, | ||||
| 			"example": ["example.com", "www.example.com"] | ||||
| 		}, | ||||
| 		"expires_on": { | ||||
| 			"description": "Date and time of expiration", | ||||
| 			"readOnly": true, | ||||
| 			"type": "string" | ||||
| 			"type": "string", | ||||
| 			"example": "2025-10-28T04:17:54.000Z" | ||||
| 		}, | ||||
| 		"owner": { | ||||
| 			"$ref": "./user-object.json" | ||||
| @@ -59,9 +62,6 @@ | ||||
| 				"dns_provider": { | ||||
| 					"type": "string" | ||||
| 				}, | ||||
| 				"dns_provider_credentials": { | ||||
| 					"type": "string" | ||||
| 				}, | ||||
| 				"letsencrypt_certificate": { | ||||
| 					"type": "object" | ||||
| 				}, | ||||
| @@ -69,6 +69,9 @@ | ||||
| 					"type": "integer", | ||||
| 					"minimum": 0 | ||||
| 				} | ||||
| 			}, | ||||
| 			"example": { | ||||
| 				"dns_challenge": false | ||||
| 			} | ||||
| 		} | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user