@Test
	protected void testApp() throws Exception {
		mockMvc.perform(get(Constants.DEFAULT_API_DOCS_URL))
				.andExpect(status().isOk())
				.andExpect(jsonPath("$.openapi", is("3.0.1")))
				.andExpect(jsonPath("$.components.schemas.Foo.required", is(new ArrayList<String>() {{
					add("stringy");
				}})))
				.andExpect(jsonPath("$.components.schemas.Bar", not(hasProperty("required"))));
	}
Test app.

@throws Exception the exception
springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/java/test/org/springdoc/api/v30/app157/SpringDocApp157Test.java