William Cheng
20be2decde
Prepare v7.16.0 release ( #21794 )
...
* Revert "v7.15.0 release (#21792 )"
This reverts commit 2c816f89cb .
* prepare 7.15.0 release
* update samples
2025-08-22 19:17:23 +08:00
William Cheng
046be5dba1
Prepare 7.15.0 ( #21445 )
...
* Revert "v7.14.0 release (#21443 )"
This reverts commit 5eb083e5ce .
* prepare v7.15.0 snapshot
* update samples
* update readme
* update doc
2025-06-25 21:34:58 +08:00
William Cheng
dbf720c093
Prepare 7.14.0 release ( #21159 )
...
* Revert "v7.13.0 release (#21157 )"
This reverts commit 4b805ff6b7 .
* prepare v7.14.0 release
* update samples
2025-04-27 22:04:03 +08:00
Julien Debon
123119c076
Add the dependencies in the generated Opam file ( #20805 )
2025-03-05 19:38:41 +08:00
Julien Debon
90de8dcd75
[OCaml] Add key to each model field ( #20766 )
...
* Add key to each model field
Add a `[@key "someField"]` annotation to each model field, to avoid mismatches when the JSON field is not in snake_case.
Closes https://github.com/OpenAPITools/openapi-generator/issues/20765
* update ocaml samples
---------
Co-authored-by: William Cheng <wing328hk@gmail.com >
2025-03-04 16:49:27 +08:00
William Cheng
c6a4947523
fix ocaml readme installation ( #12477 )
2022-05-27 00:03:24 +08:00
Antonin Décimo
5cce050260
[OCaml] Code generation fixes ( #12395 )
...
* [ocaml] Open Lwt.Infix rather than Lwt
The Lwt module has functions that might shadow parameters, and all the
functions we use from Lwt are in Lwt.Infix too.
File "src/apis/image_api.ml", line 13, characters 69-72:
13 | let uri = Request.maybe_add_query_param uri "all" string_of_bool all in
^^^
Error: This expression has type 'a t list -> 'a list t
but an expression was expected of type bool option
* [ocaml] update petstore samples
2022-05-26 23:54:13 +08:00
Justin Black
d175673077
[OCAML] Fixes cloud.drone.io ocaml-test ( #4501 )
...
* Fixes ocaml-test
* Ocaml readme update
2019-11-17 09:23:15 +08:00
William Cheng
981b3a53ef
update ocaml openapi3 petstore script
2019-07-29 12:05:15 +08:00
William Cheng
6e3176557c
[OCaml] various enhancements ( #3483 )
...
* add ocaml template creator
* various enhancement to ocaml generator
* update instruction
* update doc
* remove readme
* add back readme
2019-07-29 10:07:32 +08:00