Closed kand617 closed 6 years ago
We currently have /apis returning a response as
/apis
{ "apis": [] }
This has a a major drawback. We have to create a new class for each type of list element. For example, if we had a list of versions, we would have to create a new class to with a field named versions.
versions
Suggestion: Keep the containers generic.
{ "items": [] }
@sudhirtumati your thoughts?
Resolved by PR #49
We currently have
/apis
returning a response asThis has a a major drawback. We have to create a new class for each type of list element. For example, if we had a list of
versions
, we would have to create a new class to with a field namedversions
.Suggestion: Keep the containers generic.
@sudhirtumati your thoughts?