mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-31 10:13:32 -04:00 
			
		
		
		
	fix: validate OpenAPI spec (#1528)
* init api check test * Fix openAPI issues Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							505e594758
						
					
				
				
					commit
					34cd6eb687
				
			
							
								
								
									
										8
									
								
								tests/unit_tests/test_open_api.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								tests/unit_tests/test_open_api.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| from openapi_spec_validator import validate_v3_spec | ||||
|  | ||||
| from mealie.app import app | ||||
|  | ||||
|  | ||||
| def test_validate_open_api_spec(): | ||||
|     open_api = app.openapi() | ||||
|     validate_v3_spec(open_api) | ||||
		Reference in New Issue
	
	Block a user