private void calculateParams(PathVariable pathVar) {
		if (StringUtils.isNotEmpty(pathVar.value()))
			this.pName = pathVar.value();
		this.required = pathVar.required();
		this.paramType = ParameterIn.PATH.toString();
	}
Calculate params.

@param pathVar the path var
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/models/ParameterInfo.java