aristanetworks / aristanetworks/goeapi

Enable method returns text encoding instead of json

Open
#41 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
60
Forks
36
PR merge metrics
No merged PRs in 30d

Description

https://github.com/aristanetworks/goeapi/blob/7944bcedaf212bb60e5f9baaf471469f49113f47/client.go#L305

Although the documentation and variable name imply json output, the output is coded to text. Could we either expose `runCommands` as a public method or change the default behavior to be json encoding?

Contributor guide

Open the contributing guide

Research direction

Start at client.go around line 305 and inspect the method documented as returning JSON, including the runCommands path and its callers. Determine whether the intended resolution is exposing runCommands or changing the default encoding, then verify that the documented behavior, variable name, and returned output agree.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.