Found as part of #7774:
Using the source code from 2026-06-17 and this command:
.\it\generate-code.ps1 -descriptionUrl https://raw.githubusercontent.com/meraki/openapi/refs/heads/master/openapi/spec3.json -language go -dev
.\it\exec-cmd.ps1 -descriptionUrl https://raw.githubusercontent.com/meraki/openapi/refs/heads/master/openapi/spec3.json -language go
The generated client does not compile in Github CI (but works on Windows):
Error: client/devices/item_switch_routing_interfaces_request_builder.go:9:5: package integrationtest/client/devices/item/switchEscaped/routing/interfaces is not in std (/opt/hostedtoolcache/go/1.25.11/x64/src/integrationtest/client/devices/item/switchEscaped/routing/interfaces)
Error: client/networks/item_switch_stacks_item_routing_interfaces_request_builder.go:9:5: package integrationtest/client/networks/item/switchEscaped/stacks/item/routing/interfaces is not in std (/opt/hostedtoolcache/go/1.25.11/x64/src/integrationtest/client/networks/item/switchEscaped/stacks/item/routing/interfaces)
Error: client/devices/item_switch_routing_interfaces_request_builder.go:9:5: package integrationtest/client/devices/item/switchEscaped/routing/interfaces is not in std (/opt/hostedtoolcache/go/1.25.11/x64/src/integrationtest/client/devices/item/switchEscaped/routing/interfaces)
Error: client/networks/item_switch_stacks_item_routing_interfaces_request_builder.go:9:5: package integrationtest/client/networks/item/switchEscaped/stacks/item/routing/interfaces is not in std (/opt/hostedtoolcache/go/1.25.11/x64/src/integrationtest/client/networks/item/switchEscaped/stacks/item/routing/interfaces)
The reason is probably that "client\devices\item_switch_routing_interfaces_request_builder.go" contains this line:
package devices
import (
"context"
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go"
i27a8f66341ece65e3f56f9b82c7d85aebb2c21c93168814e2476c490c8d4199c "integrationtest/client/devices/item/switchEscaped/routing/interfaces"
)
But the path on disc is "client\devices\item\switchescaped\routing\interfaces".
Notice the "switchEscaped" vs "switchescaped" directory name.
Found as part of #7774:
Using the source code from 2026-06-17 and this command:
The generated client does not compile in Github CI (but works on Windows):
The reason is probably that "client\devices\item_switch_routing_interfaces_request_builder.go" contains this line:
But the path on disc is "client\devices\item\switchescaped\routing\interfaces".
Notice the "switchEscaped" vs "switchescaped" directory name.