mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-06 10:35:25 +00:00
[jaxrs-cfx][server] delete output dir before building sample files (#452)
bin/jaxrs-cxf-petstore-server.sh: * delete output dir before building sample * add comment before deleting files
This commit is contained in:
parent
2577e48feb
commit
00354d3264
@ -25,6 +25,9 @@ then
|
||||
mvn -B clean package
|
||||
fi
|
||||
|
||||
echo "Removing files and folders under samples/server/petstore/jaxrs-cxf"
|
||||
rm -rf samples/server/petstore/jaxrs-cxf
|
||||
|
||||
# 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"
|
||||
ags="generate -t modules/openapi-generator/src/main/resources/JavaJaxRS/cxf -i modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -g jaxrs-cxf -o samples/server/petstore/jaxrs-cxf -DhideGenerationTimestamp=true --additional-properties serverPort=8082 $@"
|
||||
|
@ -112,7 +112,7 @@ public class PetApiServiceImpl implements PetApi {
|
||||
}
|
||||
|
||||
/**
|
||||
* uploads an image
|
||||
* uploads an image (required)
|
||||
*
|
||||
*/
|
||||
public ModelApiResponse uploadFileWithRequiredFile(Long petId, Attachment fileDetail, String additionalMetadata) {
|
||||
|
@ -213,7 +213,7 @@ public class PetApiTest {
|
||||
}
|
||||
|
||||
/**
|
||||
* uploads an image
|
||||
* uploads an image (required)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
|
Loading…
Reference in New Issue
Block a user