mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-09-08 17:51:20 +02:00
replace deprecated fields()
with propertyStream()
This commit is contained in:
parent
11e3ccd19f
commit
180f0a34a9
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user