OASExplorer { public Set<String> getEntitySchemaNames(JsonObject oasJsonObject) { Set<String> entitySchemaNames = new HashSet<>(); JsonObject componentSchemaJsonObject = _jsonFinder.getDescendantJsonObject( OASConstants.LOCATOR_COMPONENTS_SCHEMAS, oasJsonObject); componentSchemaJsonObject.forEach( (entityName, entityDefinition) -> { if (entityName.startsWith("Page")) { return; } entitySchemaNames.add(entityName); }); return entitySchemaNames; }  Optional<String> getEntityClassNameOptional(
		String name, JsonObject oasJsonObject); Set<String> getEntitySchemaNames(JsonObject oasJsonObject); Set<String> getOperationPaths(
		JsonObject oasJsonObject, String... operations); List<OASParameter> getPathOperationOASParameters(
		String path, String operation, JsonObject oasJsonObject); Set<String> getPathOperations(
		String path, JsonObject oasJsonObject); String getVersion(JsonObject oasJsonObject);  }
@Test public void testGetEntitySchemaNames() { OASExplorer oasExplorer = new OASExplorer(); Set<String> entitySchemaNames = oasExplorer.getEntitySchemaNames( readObject("openapi.json")); Assert.assertThat(entitySchemaNames, Matchers.hasSize(16)); Assert.assertThat( entitySchemaNames, Matchers.hasItems( "Attachment", "Category", "Option", "OptionCategory", "ProductOption", "ProductShippingConfiguration", "ProductSubscriptionConfiguration", "Sku", "Specification")); }