Improve unit tests as succested by @before. #12.
Remove unnecessary type params from some HeaderRules
Merge branch 'master' into topic/swagger