Remote Timeline: add Streaming support
[akkoma] / test / web / api_spec / schema_examples_test.exs
index 88b6f07cb0729bd0fe4c846530016105e4ffbbee..f00e834fc42a48f8abbcae4a10eb7e60bacd4a5b 100644 (file)
@@ -28,7 +28,7 @@ defmodule Pleroma.Web.ApiSpec.SchemaExamplesTest do
       end
     end
 
-    for {status, response} <- operation.responses do
+    for {status, response} <- operation.responses, is_map(response.content[@content_type]) do
       describe "#{operation.operationId} - #{status} Response" do
         @schema resolve_schema(response.content[@content_type].schema)