replace deprecated fields() with propertyStream()

This commit is contained in:
Ludy87 2025-06-29 13:06:42 +02:00
parent 11e3ccd19f
commit 180f0a34a9
No known key found for this signature in database
GPG Key ID: 92696155E0220F94

View File

@ -120,8 +120,8 @@ public class ApiDocService {
ObjectMapper mapper = new ObjectMapper();
apiDocsJsonRootNode = mapper.readTree(apiDocsJson);
JsonNode paths = apiDocsJsonRootNode.path("paths");
paths.fields()
.forEachRemaining(
paths.propertyStream()
.forEach(
entry -> {
String path = entry.getKey();
JsonNode pathNode = entry.getValue();