Add types and checks to path parameters