mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-31 15:53:33 +00:00 
			
		
		
		
	Openapi Schema improvements
- Return proper booleans in api responses - Update jsonschemavalidation to latest draft
This commit is contained in:
		| @@ -29,10 +29,10 @@ router | ||||
| 			additionalProperties: false, | ||||
| 			properties:           { | ||||
| 				expand: { | ||||
| 					$ref: 'common#/definitions/expand' | ||||
| 					$ref: 'common#/properties/expand' | ||||
| 				}, | ||||
| 				query: { | ||||
| 					$ref: 'common#/definitions/query' | ||||
| 					$ref: 'common#/properties/query' | ||||
| 				} | ||||
| 			} | ||||
| 		}, { | ||||
|   | ||||
| @@ -31,10 +31,10 @@ router | ||||
| 			additionalProperties: false, | ||||
| 			properties:           { | ||||
| 				expand: { | ||||
| 					$ref: 'common#/definitions/expand' | ||||
| 					$ref: 'common#/properties/expand' | ||||
| 				}, | ||||
| 				query: { | ||||
| 					$ref: 'common#/definitions/query' | ||||
| 					$ref: 'common#/properties/query' | ||||
| 				} | ||||
| 			} | ||||
| 		}, { | ||||
| @@ -91,10 +91,10 @@ router | ||||
| 			additionalProperties: false, | ||||
| 			properties:           { | ||||
| 				list_id: { | ||||
| 					$ref: 'common#/definitions/id' | ||||
| 					$ref: 'common#/properties/id' | ||||
| 				}, | ||||
| 				expand: { | ||||
| 					$ref: 'common#/definitions/expand' | ||||
| 					$ref: 'common#/properties/expand' | ||||
| 				} | ||||
| 			} | ||||
| 		}, { | ||||
|   | ||||
| @@ -32,10 +32,10 @@ router | ||||
| 			additionalProperties: false, | ||||
| 			properties:           { | ||||
| 				expand: { | ||||
| 					$ref: 'common#/definitions/expand' | ||||
| 					$ref: 'common#/properties/expand' | ||||
| 				}, | ||||
| 				query: { | ||||
| 					$ref: 'common#/definitions/query' | ||||
| 					$ref: 'common#/properties/query' | ||||
| 				} | ||||
| 			} | ||||
| 		}, { | ||||
| @@ -124,10 +124,10 @@ router | ||||
| 			additionalProperties: false, | ||||
| 			properties:           { | ||||
| 				certificate_id: { | ||||
| 					$ref: 'common#/definitions/id' | ||||
| 					$ref: 'common#/properties/id' | ||||
| 				}, | ||||
| 				expand: { | ||||
| 					$ref: 'common#/definitions/expand' | ||||
| 					$ref: 'common#/properties/expand' | ||||
| 				} | ||||
| 			} | ||||
| 		}, { | ||||
|   | ||||
| @@ -31,10 +31,10 @@ router | ||||
| 			additionalProperties: false, | ||||
| 			properties:           { | ||||
| 				expand: { | ||||
| 					$ref: 'common#/definitions/expand' | ||||
| 					$ref: 'common#/properties/expand' | ||||
| 				}, | ||||
| 				query: { | ||||
| 					$ref: 'common#/definitions/query' | ||||
| 					$ref: 'common#/properties/query' | ||||
| 				} | ||||
| 			} | ||||
| 		}, { | ||||
| @@ -91,10 +91,10 @@ router | ||||
| 			additionalProperties: false, | ||||
| 			properties:           { | ||||
| 				host_id: { | ||||
| 					$ref: 'common#/definitions/id' | ||||
| 					$ref: 'common#/properties/id' | ||||
| 				}, | ||||
| 				expand: { | ||||
| 					$ref: 'common#/definitions/expand' | ||||
| 					$ref: 'common#/properties/expand' | ||||
| 				} | ||||
| 			} | ||||
| 		}, { | ||||
|   | ||||
| @@ -31,10 +31,10 @@ router | ||||
| 			additionalProperties: false, | ||||
| 			properties:           { | ||||
| 				expand: { | ||||
| 					$ref: 'common#/definitions/expand' | ||||
| 					$ref: 'common#/properties/expand' | ||||
| 				}, | ||||
| 				query: { | ||||
| 					$ref: 'common#/definitions/query' | ||||
| 					$ref: 'common#/properties/query' | ||||
| 				} | ||||
| 			} | ||||
| 		}, { | ||||
| @@ -91,10 +91,10 @@ router | ||||
| 			additionalProperties: false, | ||||
| 			properties:           { | ||||
| 				host_id: { | ||||
| 					$ref: 'common#/definitions/id' | ||||
| 					$ref: 'common#/properties/id' | ||||
| 				}, | ||||
| 				expand: { | ||||
| 					$ref: 'common#/definitions/expand' | ||||
| 					$ref: 'common#/properties/expand' | ||||
| 				} | ||||
| 			} | ||||
| 		}, { | ||||
|   | ||||
| @@ -31,10 +31,10 @@ router | ||||
| 			additionalProperties: false, | ||||
| 			properties:           { | ||||
| 				expand: { | ||||
| 					$ref: 'common#/definitions/expand' | ||||
| 					$ref: 'common#/properties/expand' | ||||
| 				}, | ||||
| 				query: { | ||||
| 					$ref: 'common#/definitions/query' | ||||
| 					$ref: 'common#/properties/query' | ||||
| 				} | ||||
| 			} | ||||
| 		}, { | ||||
| @@ -91,10 +91,10 @@ router | ||||
| 			additionalProperties: false, | ||||
| 			properties:           { | ||||
| 				host_id: { | ||||
| 					$ref: 'common#/definitions/id' | ||||
| 					$ref: 'common#/properties/id' | ||||
| 				}, | ||||
| 				expand: { | ||||
| 					$ref: 'common#/definitions/expand' | ||||
| 					$ref: 'common#/properties/expand' | ||||
| 				} | ||||
| 			} | ||||
| 		}, { | ||||
|   | ||||
| @@ -31,10 +31,10 @@ router | ||||
| 			additionalProperties: false, | ||||
| 			properties:           { | ||||
| 				expand: { | ||||
| 					$ref: 'common#/definitions/expand' | ||||
| 					$ref: 'common#/properties/expand' | ||||
| 				}, | ||||
| 				query: { | ||||
| 					$ref: 'common#/definitions/query' | ||||
| 					$ref: 'common#/properties/query' | ||||
| 				} | ||||
| 			} | ||||
| 		}, { | ||||
| @@ -91,10 +91,10 @@ router | ||||
| 			additionalProperties: false, | ||||
| 			properties:           { | ||||
| 				stream_id: { | ||||
| 					$ref: 'common#/definitions/id' | ||||
| 					$ref: 'common#/properties/id' | ||||
| 				}, | ||||
| 				expand: { | ||||
| 					$ref: 'common#/definitions/expand' | ||||
| 					$ref: 'common#/properties/expand' | ||||
| 				} | ||||
| 			} | ||||
| 		}, { | ||||
|   | ||||
| @@ -32,10 +32,10 @@ router | ||||
| 			additionalProperties: false, | ||||
| 			properties:           { | ||||
| 				expand: { | ||||
| 					$ref: 'common#/definitions/expand' | ||||
| 					$ref: 'common#/properties/expand' | ||||
| 				}, | ||||
| 				query: { | ||||
| 					$ref: 'common#/definitions/query' | ||||
| 					$ref: 'common#/properties/query' | ||||
| 				} | ||||
| 			} | ||||
| 		}, { | ||||
| @@ -97,10 +97,10 @@ router | ||||
| 			additionalProperties: false, | ||||
| 			properties:           { | ||||
| 				user_id: { | ||||
| 					$ref: 'common#/definitions/id' | ||||
| 					$ref: 'common#/properties/id' | ||||
| 				}, | ||||
| 				expand: { | ||||
| 					$ref: 'common#/definitions/expand' | ||||
| 					$ref: 'common#/properties/expand' | ||||
| 				} | ||||
| 			} | ||||
| 		}, { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user