private void addOperationDescription(Operation operation, RequestMethod requestMethod, String entity, DataRestRepository dataRestRepository) {
		switch (requestMethod) {
			case GET:
				operation.setDescription(createDescription("get-", entity, dataRestRepository));
				break;
			case POST:
				operation.setDescription(createDescription("create-", entity, dataRestRepository));
				break;
			case DELETE:
				operation.setDescription(createDescription("delete-", entity, dataRestRepository));
				break;
			case PUT:
				operation.setDescription(createDescription("update-", entity, dataRestRepository));
				break;
			case PATCH:
				operation.setDescription(createDescription("patch-", entity, dataRestRepository));
				break;
			default:
				throw new IllegalArgumentException(requestMethod.name());
		}
	}
Add operation description.

@param operation          the operation
@param requestMethod      the request method
@param entity             the entity
@param dataRestRepository the data rest repository
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/data/DataRestOperationService.java