Skip to content

Commit

Permalink
Update variants adapter module name in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ixzzd committed Dec 27, 2023
1 parent 0d05628 commit 75900be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/objects.ml
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,12 @@ let two_objects_with_same_nested_object_field_names _ =
type oneValue = [
| String of string
| Int of int
] <json adapter.ocaml="Openapi2atd_runtime.Adapter.One_of">
] <json adapter.ocaml="Jsonschema2atd_runtime.Adapter.One_of">

type twoValue = [
| String of string
| Int of int
] <json adapter.ocaml="Openapi2atd_runtime.Adapter.One_of">
] <json adapter.ocaml="Jsonschema2atd_runtime.Adapter.One_of">

type two = {
value: twoValue;
Expand Down
4 changes: 2 additions & 2 deletions tests/one_of.ml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ let simple_test _ =
type dummy = [
| String of string
| StringList of string list
] <json adapter.ocaml="Openapi2atd_runtime.Adapter.One_of">
] <json adapter.ocaml="Jsonschema2atd_runtime.Adapter.One_of">
|}
in
assert_schema input output
Expand Down Expand Up @@ -64,7 +64,7 @@ let nested_one_of_test _ =
type variableModelQuery = [
| String of string
| Json of variableModelQueryJson
] <json adapter.ocaml="Openapi2atd_runtime.Adapter.One_of">
] <json adapter.ocaml="Jsonschema2atd_runtime.Adapter.One_of">

type variableModel = {
?query: variableModelQuery option;
Expand Down

0 comments on commit 75900be

Please sign in to comment.