···4949 conn |> send_resp(200, "test")
5050 end
51515252- # TODO: why did body not validate
5352 procedure Com.Example.CreatePost, require_auth: true do
5453 IO.inspect(conn.assigns, label: "createPost")
5554 conn |> send_resp(200, "test")
+7
test/atex/lexicon_test.exs
···1414 end
15151616 test "Input submodule exports from_json/1" do
1717+ Code.ensure_loaded!(Lexicon.Test.CreatePost.Input)
1718 assert function_exported?(Lexicon.Test.CreatePost.Input, :from_json, 1)
1819 end
1920···3738 end
38393940 test "Output submodule exports from_json/1" do
4141+ Code.ensure_loaded!(Lexicon.Test.GetPost.Output)
4042 assert function_exported?(Lexicon.Test.GetPost.Output, :from_json, 1)
4143 end
4244···6466 end
65676668 test "Input submodule exports from_json/1" do
6969+ Code.ensure_loaded!(Lexicon.Test.CreateProfile.Input)
6770 assert function_exported?(Lexicon.Test.CreateProfile.Input, :from_json, 1)
6871 end
6972···8992 end
90939194 test "Input submodule exports from_json/1" do
9595+ Code.ensure_loaded!(Lexicon.Test.CreateUnion.Input)
9296 assert function_exported?(Lexicon.Test.CreateUnion.Input, :from_json, 1)
9397 end
9498···118122 end
119123120124 test "root module exports content_type/0" do
125125+ Code.ensure_loaded!(Lexicon.Test.UploadBlob)
121126 assert function_exported?(Lexicon.Test.UploadBlob, :content_type, 0)
122127 end
123128···138143139144 describe "procedure with JSON input schema" do
140145 test "Input submodule exports content_type/0" do
146146+ Code.ensure_loaded!(Lexicon.Test.CreatePost.Input)
141147 assert function_exported?(Lexicon.Test.CreatePost.Input, :content_type, 0)
142148 end
143149···156162 end
157163158164 test "Output submodule exports from_json/1" do
165165+ Code.ensure_loaded!(Lexicon.Test.GetUnion.Output)
159166 assert function_exported?(Lexicon.Test.GetUnion.Output, :from_json, 1)
160167 end
161168