Skip to content

Commit

Permalink
Fix schema inspect argument error in IEx
Browse files Browse the repository at this point in the history
  • Loading branch information
zorbash committed Sep 17, 2024
1 parent e73e4fe commit 6b715a9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/open_api_spex/inspect/for_schema.ex
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
defimpl Inspect, for: OpenApiSpex.Schema do
import Inspect.Algebra

def inspect(parameter, opts) do
map =
parameter
Expand All @@ -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

0 comments on commit 6b715a9

Please sign in to comment.