protected void calculatePath(HandlerMethod handlerMethod, String operationPath,
			Set<RequestMethod> requestMethods, String[] consumes, String[] produces, String[] headers, String[] params, Locale locale, OpenAPI openAPI) {
		this.calculatePath(handlerMethod, new RouterOperation(operationPath, requestMethods.toArray(new RequestMethod[requestMethods.size()]), consumes, produces, headers, params), locale, openAPI);
	}
Calculate path.

@param handlerMethod  the handler method
@param operationPath  the operation path
@param requestMethods the request methods
@param consumes       the consumes
@param produces       the produces
@param headers        the headers
@param params         the params
@param locale         the locale
@param openAPI        the open api
springdoc-openapi-starter-common/src/main/java/org/springdoc/api/AbstractOpenApiResource.java