docs(backend): Setup swagger-autogen
This commit is contained in:
		
							parent
							
								
									3cd7496989
								
							
						
					
					
						commit
						ab8ece2a76
					
				
					 9 changed files with 929 additions and 19 deletions
				
			
		
							
								
								
									
										14
									
								
								docs/package.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								docs/package.json
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,14 @@ | |||
| { | ||||
|     "name": "dwengo-1-docs", | ||||
|     "version": "0.0.1", | ||||
|     "description": "Documentation for Dwengo-1", | ||||
|     "private": true, | ||||
|     "scripts": { | ||||
|         "build": "npm run architecture && npm run swagger", | ||||
|         "architecture": "python3 -m venv .venv && source .venv/bin/activate && pip install -r docs/requirements.txt && python docs/architecture/schema.py", | ||||
|         "swagger": "tsx api/generate.ts" | ||||
|     }, | ||||
|     "devDependencies": { | ||||
|         "swagger-autogen": "^2.23.7" | ||||
|     } | ||||
| } | ||||
		Reference in a new issue