private void setContent(String[] methodProduces, Content content,
			io.swagger.v3.oas.models.media.MediaType mediaType) {
		Arrays.stream(methodProduces).forEach(mediaTypeStr -> content.addMediaType(mediaTypeStr, mediaType));
	}
Sets content.

@param methodProduces the method produces
@param content        the content
@param mediaType      the media type
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/service/GenericResponseService.java