We've added the OCaml client generator to the OpenAPI Generator project (https://github.com/OpenAPITools/openapi-generator). To generate an OCaml client given an OpenAPI/Swagger specification file, please follow 3 simple steps below:<p>1. Download the Java JAR (https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/4.1.0-SNAPSHOT/openapi-generator-cli-4.1.0-20190729.024538-72.jar)<p>2. Rename the JAR as "openapi-generator-cli.jar"<p>3. Run the following command to generate a Java API client for the Petstore API (https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/modules/openapi-generator/src/test/resources/2_0/petstore.yaml):<p>Mac/Linux:<p>> java -jar openapi-generator-cli.jar generate -g ocaml -i https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/modules/openapi-generator/src/test/resources/2_0/petstore.yaml -o /var/tmp/ocaml/<p>Windows:<p>> java -jar openapi-generator-cli.jar generate -g ocaml -i https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/modules/openapi-generator/src/test/resources/2_0/petstore.yaml -o C:\tmp\ocaml<p>If you've any feedback or question, please let us know via https://github.com/OpenAPITools/openapi-generator/issues/new.<p>Thanks Christophe Gensoul (https://twitter.com/cgensoul) for contributing the new generator (https://github.com/OpenAPITools/openapi-generator/pull/3446).