setting ApiParamType.PATH as default