Let's also put restriction on types String and int. Other types may not serialize well into path parameter.