forked from loafle/openapi-generator-original
update ocaml openapi3 petstore script
This commit is contained in:
parent
9cb3ae1048
commit
981b3a53ef
@ -28,7 +28,7 @@ fi
|
||||
# if you've executed sbt assembly previously it will use that instead.
|
||||
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DdebugOperations -DloggerPath=conf/log4j.properties"
|
||||
|
||||
args="generate -t modules/openapi-generator/src/main/resources/ocaml-client -i modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml -g ocaml-client -o samples/openapi3/client/petstore/ocaml-client/ --additional-properties packageName=petstore_client $@"
|
||||
args="generate -t modules/openapi-generator/src/main/resources/ocaml -i modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml -g ocaml -o samples/openapi3/client/petstore/ocaml/ --additional-properties packageName=petstore_client $@"
|
||||
|
||||
echo "java ${JAVA_OPTS} -jar ${executable} ${args}"
|
||||
java $JAVA_OPTS -jar $executable $args
|
||||
|
@ -17,6 +17,7 @@ Please run the following commands to build the package `petstore_client`:
|
||||
|
||||
```sh
|
||||
opam install ppx_deriving_yojson cohttp ppx_deriving cohttp-lwt-unix
|
||||
eval $(opam env)
|
||||
dune build
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user