doc-architect/doc-architect-core/src/main/java/com/docarchitect/core/scanner/impl/php/SymfonyApiScanner.java [496:510]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private String applyPrefix(String prefix, String path) {
        if (prefix == null || prefix.isEmpty()) {
            return normalizePath(path);
        }

        String normalizedPrefix = prefix.startsWith("/") ? prefix : "/" + prefix;
        String normalizedPath = path.startsWith("/") ? path : "/" + path;

        // Avoid double slashes
        if (normalizedPrefix.endsWith("/") && normalizedPath.startsWith("/")) {
            normalizedPath = normalizedPath.substring(1);
        }

        return normalizePath(normalizedPrefix + normalizedPath);
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



doc-architect/doc-architect-core/src/main/java/com/docarchitect/core/scanner/impl/php/LaravelApiScanner.java [414:428]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private String applyPrefix(String prefix, String path) {
        if (prefix == null || prefix.isEmpty()) {
            return normalizePath(path);
        }

        String normalizedPrefix = prefix.startsWith("/") ? prefix : "/" + prefix;
        String normalizedPath = path.startsWith("/") ? path : "/" + path;

        // Avoid double slashes
        if (normalizedPrefix.endsWith("/") && normalizedPath.startsWith("/")) {
            normalizedPath = normalizedPath.substring(1);
        }

        return normalizePath(normalizedPrefix + normalizedPath);
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



