@Test
	void swagger_config_for_multiple_groups_and_many_parallel_requests() {
		assertDoesNotThrow(() -> {
			allOf(Stream.generate(() -> runAsync(() -> {
						try {
							mockMvc.perform(get("/v3/api-docs/swagger-config"))
									.andExpect(status().isOk())
									.andExpect(jsonPath("configUrl", equalTo("/servlet-path/v3/api-docs/swagger-config")))
									.andExpect(jsonPath("url").doesNotExist())
									.andExpect(jsonPath("urls.length()", equalTo(3)))
									.andExpect(jsonPath("urls[0].url", equalTo("/servlet-path/api-docs.yaml")))
									.andExpect(jsonPath("urls[0].name", equalTo("first-user-list")))
									.andExpect(jsonPath("urls[1].url", equalTo("/servlet-path/api-docs.yaml")))
									.andExpect(jsonPath("urls[1].name", equalTo("second-user-list")))
									.andExpect(jsonPath("urls[2].url", equalTo("/servlet-path/api-docs.yaml")))
									.andExpect(jsonPath("urls[2].name", equalTo("third-user-list")));
						}
						catch (Exception e) {
							throw new RuntimeException(e);
						}
					}))
					.limit(PARALLEL_REQUEST_NUMBER)
					.toArray(CompletableFuture[]::new))
					.join();
		}, "Swagger config is supposed to be delivered successfully " +
				"no matter how many parallel requests are sent");
	}
Sends {@link SpringDocApp8MultipleUrlsSeveralParallelRequestsTest#PARALLEL_REQUEST_NUMBER} requests
simultaneously to make sure no exceptions are thrown when getting Swagger config.
springdoc-openapi-starter-webmvc-ui/src/test/java/test/org/springdoc/ui/app8/SpringDocApp8MultipleUrlsSeveralParallelRequestsTest.java