@Test
	void shouldDefineComponentsSecuritySchemesForApiKey() throws Exception {
		mockMvc
				.perform(get("/api-docs"))
				.andExpect(status().isOk())
				.andExpect(jsonPath("$.security[1].apiKeyScheme", is(new ArrayList<String>())))
				.andExpect(jsonPath("$.components.securitySchemes.apiKeyScheme.type", is("apiKey")))
				.andExpect(jsonPath("$.components.securitySchemes.apiKeyScheme.in", is("header")))
		;
	}
Given: Bean configuration with security scheme API key
When: Get api-docs
Then: Return security definitions with API key
springdoc-openapi-starter-webmvc-api/src/test/java/test/org/springdoc/api/v30/app5/sample/OpenAPIResourceBeanConfigurationComponentsSecuritySchemesTest.java