Skip to content

Commit

Permalink
[fix #27] Fix metadata spec
Browse files Browse the repository at this point in the history
  • Loading branch information
harenson committed Nov 16, 2015
1 parent a4d3bcc commit 35a19fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cowboy_swagger.erl
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ swagger_paths(Trails) ->
swagger_paths(Trails, #{}).

%% @hidden
-spec validate_metadata(trails:metadata()) -> trails:metadata().
-spec validate_metadata(trails:metadata(_)) -> metadata().
validate_metadata(Metadata) ->
validate_swagger_map(Metadata).

Expand Down

0 comments on commit 35a19fb

Please sign in to comment.