[GO] Directory casing problem for MERAKI.COM api
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 3.8k
- Forks
- 333
- Avg merge
- 16h 29m
- Merged PRs (30d)
- 116
Description
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:
```go
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Go generation commands in it\generate-code.ps1 and it\exec-cmd.ps1, then compare the import path in client\devices\item_switch_routing_interfaces_request_builder.go with the generated directory casing. Reproduce the generation for the MERAKI.COM specification and verify that the generated client compiles in the GitHub CI environment, including the two reported request-builder paths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100