You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 30, 2026. It is now read-only.
One problem that I found with this patch to metal-go is that the directory structure is correctly defined as metal/v1/, but main.go puts an extra metal/ in the import path.
Consider generating this mock server.
Using https://github.com/equinix-labs/metal-go as a starting point:
The stubs would be created and the current mock implementation could be moved into the stubs.
The option to generate only interfaces could be helpful so that empty stubs return errors until they are actually implemented.
https://openapi-generator.tech/docs/generators/go-server/
One problem that I found with this patch to metal-go is that the directory structure is correctly defined as metal/v1/, but main.go puts an extra metal/ in the import path.