mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-10-27 02:50:38 -04:00 
			
		
		
		
	Fixed swagger code generation script
This commit is contained in:
		
							parent
							
								
									77bd2d1219
								
							
						
					
					
						commit
						32bb49b631
					
				| @ -7,4 +7,4 @@ ${CODEGEN} generate -i api/swagger/swagger.yaml -l qt5cpp -c qt5cpp-config.json | ||||
| ${CODEGEN} generate -i api/swagger/swagger.yaml -l html2 -c html2-config.json -o code/html2 | ||||
| cp -v code/html2/index.html ${SDRANGEL_SRC}/sdrbase/resources/webapi/doc/html2 | ||||
| cp -av api/swagger/ ${SDRANGEL_SRC}/sdrbase/resources/webapi/doc | ||||
| find ${SDRANGEL_SRC}/sdrbase/resources/webapi/doc/swagger -name \*.yaml -exec sed -i 's/http:\/\/localhost:8081\/api\/swagger\/include/\/doc\/swagger\/include/g' {} \; | ||||
| find ${SDRANGEL_SRC}/sdrbase/resources/webapi/doc/swagger -name \*.yaml -exec sed -i 's/http:\/\/swgserver:8081\/api\/swagger\/include/\/doc\/swagger\/include/g' {} \; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user