diff --git a/lib/ash_json_api/json_schema/open_api.ex b/lib/ash_json_api/json_schema/open_api.ex index 57643fb..db7e663 100644 --- a/lib/ash_json_api/json_schema/open_api.ex +++ b/lib/ash_json_api/json_schema/open_api.ex @@ -1687,6 +1687,7 @@ if Code.ensure_loaded?(OpenApiSpex) do arguments = arguments + |> Enum.filter(& &1.public?) |> without_path_arguments(action, route) |> without_query_params(route) |> Enum.reject(& &1.allow_nil?) @@ -1716,6 +1717,7 @@ if Code.ensure_loaded?(OpenApiSpex) do end arguments + |> Enum.filter(& &1.public?) |> without_path_arguments(action, route) |> without_query_params(route) |> Enum.reduce(attributes, fn argument, attributes ->