mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	updated Orval and configured it to be compatible with v7. --------- Co-authored-by: Thomas Heartman <thomas@getunleash.io>
		
			
				
	
	
		
			16 lines
		
	
	
		
			340 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			340 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| echo "Deleting generated apis..."
 | |
| rm -rf src/openapi/apis
 | |
| 
 | |
| # Remove all but last line from index.ts
 | |
| echo "Cleaning index.ts..."
 | |
| echo "export * from './models/index';" > src/openapi/index.ts
 | |
| echo '' >> src/openapi/index.ts
 | |
| 
 | |
| echo "Formatting..."
 | |
| yarn fmt
 | |
| ./node_modules/.bin/biome lint --write --unsafe src/openapi
 | |
| 
 | |
| echo "Done!"
 |