File tree Expand file tree Collapse file tree
modules/openapi-generator/src/main/resources/ocaml
ocaml-fake-petstore/src/support Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ let write_json_body payload =
3535let write_as_json_body to_json payload = write_json_body (to_json payload)
3636
3737let handle_response resp on_success_handler =
38- match Cohttp_lwt .Response.status resp with
38+ match Cohttp .Response.status resp with
3939 | #Cohttp.Code.success_status -> on_success_handler ()
4040 | s -> failwith ("Server responded with status " ^ Cohttp.Code.(reason_phrase_of_code (code_of_status s)))
4141
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ let write_json_body payload =
3535let write_as_json_body to_json payload = write_json_body (to_json payload)
3636
3737let handle_response resp on_success_handler =
38- match Cohttp_lwt .Response. status resp with
38+ match Cohttp .Response. status resp with
3939 | #Cohttp.Code. success_status -> on_success_handler ()
4040 | s -> failwith (" Server responded with status " ^ Cohttp.Code. (reason_phrase_of_code (code_of_status s)))
4141
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ let write_json_body payload =
3535let write_as_json_body to_json payload = write_json_body (to_json payload)
3636
3737let handle_response resp on_success_handler =
38- match Cohttp_lwt .Response. status resp with
38+ match Cohttp .Response. status resp with
3939 | #Cohttp.Code. success_status -> on_success_handler ()
4040 | s -> failwith (" Server responded with status " ^ Cohttp.Code. (reason_phrase_of_code (code_of_status s)))
4141
You can’t perform that action at this time.
0 commit comments