Closed migueleliasweb closed 2 years ago
Possibly use https://github.com/go-swagger/go-swagger/blob/master/docs/usage/expand.md as a pre-processing step to simplify the iteration over the json.
It should be possible to embed the Expand
call to the gen.go
script with https://github.com/go-swagger/go-swagger/blob/master/cmd/swagger/commands/expand.go .
Some endpoints have parameters that are optional, we should be able to dynamically create endpoints without them to cater to some other code flows.
E.g.
The above example shows that only
owner
andrepo
are required arguments.