Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleVsteger committed Oct 31, 2024
1 parent d2d6e0f commit 4ead28b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/support/test_schema.ex
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ defmodule ChannelSpec.SocketTest.LotsOfRefsSchema do
properties: %{
foo: %{"$ref": ChannelSpec.SocketTest.LotsOfRefsSchema.Foo},
bar: %{type: :array, items: [%{"$ref": ChannelSpec.SocketTest.LotsOfRefsSchema.Bar}]},
flim: %{ type: :array, items: [%{"$ref": ChannelSpec.SocketTest.LotsOfRefsSchema.Flim}] }
flim: %{type: :array, items: [%{"$ref": ChannelSpec.SocketTest.LotsOfRefsSchema.Flim}]}
},
additionalProperties: false
}
Expand Down Expand Up @@ -42,7 +42,7 @@ defmodule ChannelSpec.SocketTest.LotsOfRefsSchema do

defmodule Foo do
def schema() do
%{ oneOf: [ %{type: :null}, %{type: :string} ] }
%{oneOf: [%{type: :null}, %{type: :string}]}
end
end

Expand All @@ -66,8 +66,7 @@ defmodule ChannelSpec.SocketTest.LotsOfRefsSchema.Flam do
properties: %{
whatever: %{
type: :array,
items: [ %{ type: :array, items: [%{type: :string}] }
]
items: [%{type: :array, items: [%{type: :string}]}]
}
},
additionalProperties: false
Expand Down

0 comments on commit 4ead28b

Please sign in to comment.