Add support for path parameters in swagger 2.0

fixes #16