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 }}
Repository navigation
Expand types of lists that can be returned in responses #93
Our response types in general are pretty basic compared to our "properties" (inputs). The right move here is probably to unify those two types, maybe by having a generic response with a single root Property that makes it up.
I need to do some research into what's allowed first though. I'm not sure if you actually can return all the same things you can take as inputs (or if the schema is defined the same).
If you (or anyone else) knows off hand or wants to do some reading in the docs to find out, that would go a long way toward moving this forward.
#165 actually added a bunch of additional list types so I think that solves this particular issue. I do still plan on expanding the available response types, but it will be done against some other issues.
Activity
[-]$ref is optional and should not be mandatory for items[/-][+]$ref should be optional for items[/+]dbanty commentedon Jul 15, 2020
Our response types in general are pretty basic compared to our "properties" (inputs). The right move here is probably to unify those two types, maybe by having a generic response with a single root Property that makes it up.
I need to do some research into what's allowed first though. I'm not sure if you actually can return all the same things you can take as inputs (or if the schema is defined the same).
If you (or anyone else) knows off hand or wants to do some reading in the docs to find out, that would go a long way toward moving this forward.
[-]$ref should be optional for items[/-][+]Expand types of lists that can be returned in responses[/+]dbanty commentedon Sep 26, 2020
#165 actually added a bunch of additional list types so I think that solves this particular issue. I do still plan on expanding the available response types, but it will be done against some other issues.