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
fix: resolve hapi vps firewall list JSON parsing error
The firewall list command was failing due to a mismatch between the
OpenAPI specification and actual API implementation. The spec defines
a paginated response structure but the API returns a direct array.
Changes:
- Bypass generated client parsing that expects paginated response
- Use raw HTTP client to get actual API response
- Parse response as direct array of firewall resources
- Maintain existing output formatting
This resolves the "cannot unmarshal array into struct" error and
allows the firewall list command to work correctly.
Related: hostinger/api#23
0 commit comments