Skip to content

Commit

Permalink
fixup! Exclude empty paths from spec
Browse files Browse the repository at this point in the history
  • Loading branch information
alisinabh committed Dec 18, 2023
1 parent 711f2ba commit de80a68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/paths_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ defmodule OpenApiSpex.PathsTest do
} = paths

refute Map.has_key?(paths, "/api/noapi")
refute Map.has_key?(paths, "/api/noapi_with_struct")

assert pets_path_item.patch.operationId == "OpenApiSpexTest.PetController.update"
assert pets_path_item.put.operationId == "OpenApiSpexTest.PetController.update (2)"
Expand Down

0 comments on commit de80a68

Please sign in to comment.