From 6b715a9fec8b0d3c7c4a186b3febf1c856392896 Mon Sep 17 00:00:00 2001 From: Dimitris Zorbas Date: Tue, 17 Sep 2024 16:19:12 +0300 Subject: [PATCH] Fix schema inspect argument error in IEx --- lib/open_api_spex/inspect/for_schema.ex | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/open_api_spex/inspect/for_schema.ex b/lib/open_api_spex/inspect/for_schema.ex index 551d2ad7..a41bcafe 100644 --- a/lib/open_api_spex/inspect/for_schema.ex +++ b/lib/open_api_spex/inspect/for_schema.ex @@ -1,6 +1,4 @@ defimpl Inspect, for: OpenApiSpex.Schema do - import Inspect.Algebra - def inspect(parameter, opts) do map = parameter @@ -16,6 +14,6 @@ defimpl Inspect, for: OpenApiSpex.Schema do Map.has_key?(map, field), do: info - Inspect.Map.inspect(map, to_doc(OpenApiSpex.Schema, opts), infos, opts) + Inspect.Map.inspect(map, "OpenApiSpex.Schema", infos, opts) end end