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,10 +1,10 @@ | ||||
| { | ||||
| 	"operationId": "createCertificate", | ||||
| 	"summary": "Create a Certificate", | ||||
| 	"tags": ["Certificates"], | ||||
| 	"tags": ["certificates"], | ||||
| 	"security": [ | ||||
| 		{ | ||||
| 			"BearerAuth": ["certificates"] | ||||
| 			"bearerAuth": ["certificates.manage"] | ||||
| 		} | ||||
| 	], | ||||
| 	"requestBody": { | ||||
| @@ -30,6 +30,13 @@ | ||||
| 							"$ref": "../../../components/certificate-object.json#/properties/meta" | ||||
| 						} | ||||
| 					} | ||||
| 				}, | ||||
| 				"example": { | ||||
| 					"provider": "letsencrypt", | ||||
| 					"domain_names": ["test.example.com"], | ||||
| 					"meta": { | ||||
| 						"dns_challenge": false | ||||
| 					} | ||||
| 				} | ||||
| 			} | ||||
| 		} | ||||
| @@ -47,7 +54,6 @@ | ||||
| 								"id": 5, | ||||
| 								"created_on": "2024-10-09 05:28:35", | ||||
| 								"owner_user_id": 1, | ||||
| 								"is_deleted": false, | ||||
| 								"provider": "letsencrypt", | ||||
| 								"nice_name": "test.example.com", | ||||
| 								"domain_names": ["test.example.com"], | ||||
|   | ||||
		Reference in New Issue
	
	Block a user