Fix PathItem bug #7

Merged
stne3960 merged 2 commits from fix-pathitem-bug into main 2025-11-11 10:59:25 +01:00
Showing only changes of commit b1ff9d440f - Show all commits

View File

@ -67,6 +67,7 @@ public class OpenApiService {
case PUT -> item.put(operation); case PUT -> item.put(operation);
case DELETE -> item.delete(operation); case DELETE -> item.delete(operation);
case PATCH -> item.patch(operation); case PATCH -> item.patch(operation);
default -> throw new IllegalArgumentException("Unsupported HTTP method: " + method);
} }
api.getPaths().addPathItem(path, item); api.getPaths().addPathItem(path, item);