forked from loafle/openapi-generator-original
		
	update springmvc bin to use petstore.yaml
This commit is contained in:
		
							parent
							
								
									c93fcc2643
								
							
						
					
					
						commit
						ce6b70a873
					
				@ -26,6 +26,6 @@ fi
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# if you've executed sbt assembly previously it will use that instead.
 | 
					# if you've executed sbt assembly previously it will use that instead.
 | 
				
			||||||
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
 | 
					export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
 | 
				
			||||||
ags="$@ generate -t modules/swagger-codegen/src/main/resources/JavaSpringMVC -i modules/swagger-codegen/src/test/resources/2_0/petstore.json -l spring-mvc -o samples/server/petstore/spring-mvc-j8-async -c bin/spring-mvc-petstore-j8-async.json"
 | 
					ags="$@ generate -t modules/swagger-codegen/src/main/resources/JavaSpringMVC -i modules/swagger-codegen/src/test/resources/2_0/petstore.yaml -l spring-mvc -o samples/server/petstore/spring-mvc-j8-async -c bin/spring-mvc-petstore-j8-async.json"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
java $JAVA_OPTS -jar $executable $ags
 | 
					java $JAVA_OPTS -jar $executable $ags
 | 
				
			||||||
 | 
				
			|||||||
@ -26,6 +26,6 @@ fi
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# if you've executed sbt assembly previously it will use that instead.
 | 
					# if you've executed sbt assembly previously it will use that instead.
 | 
				
			||||||
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
 | 
					export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
 | 
				
			||||||
ags="$@ generate -t modules/swagger-codegen/src/main/resources/JavaSpringMVC -i modules/swagger-codegen/src/test/resources/2_0/petstore.json -l spring-mvc -o samples/server/petstore/spring-mvc"
 | 
					ags="$@ generate -t modules/swagger-codegen/src/main/resources/JavaSpringMVC -i modules/swagger-codegen/src/test/resources/2_0/petstore.yaml -l spring-mvc -o samples/server/petstore/spring-mvc"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
java $JAVA_OPTS -jar $executable $ags
 | 
					java $JAVA_OPTS -jar $executable $ags
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user