mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-30 23:33:34 +00:00 
			
		
		
		
	frontend doesn't include when building in react version adds swagger for existing dns-providers endpoint
		
			
				
	
	
		
			47 lines
		
	
	
		
			853 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			47 lines
		
	
	
		
			853 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
| 	"operationId": "testHttpReach",
 | |
| 	"summary": "Test HTTP Reachability",
 | |
| 	"tags": ["Certificates"],
 | |
| 	"security": [
 | |
| 		{
 | |
| 			"BearerAuth": ["certificates"]
 | |
| 		}
 | |
| 	],
 | |
| 	"requestBody": {
 | |
| 		"description": "Test Payload",
 | |
| 		"required": true,
 | |
| 		"content": {
 | |
| 			"application/json": {
 | |
| 				"schema": {
 | |
| 					"type": "object",
 | |
| 					"additionalProperties": false,
 | |
| 					"required": ["domains"],
 | |
| 					"properties": {
 | |
| 						"domains": {
 | |
| 							"$ref": "../../../../common.json#/properties/domain_names"
 | |
| 						}
 | |
| 					}
 | |
| 				}
 | |
| 			}
 | |
| 		}
 | |
| 	},
 | |
| 	"responses": {
 | |
| 		"200": {
 | |
| 			"description": "200 response",
 | |
| 			"content": {
 | |
| 				"application/json": {
 | |
| 					"examples": {
 | |
| 						"default": {
 | |
| 							"value": {
 | |
| 								"test.example.org": "ok",
 | |
| 								"test.example.com": "other:Invalid domain or IP",
 | |
| 								"nonexistent.example.com": "404"
 | |
| 							}
 | |
| 						}
 | |
| 					}
 | |
| 				}
 | |
| 			}
 | |
| 		}
 | |
| 	}
 | |
| }
 |