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
I notice none of the method List { blocks contain an out Kind String parameter.
And indeed the generated openapi documents kind for individual objects corresponding to method Get eg. /api/clusters_mgmt/v1/clusters/{cluster_id} but not for collection lists e.g. /api/clusters_mgmt/v1/clusters
cben
changed the title
openapi: listing collections don't document returning a mind field
openapi: listing collections don't document returning a kind field
Jun 23, 2020
I notice none of the
method List {
blocks contain anout Kind String
parameter.And indeed the generated openapi documents
kind
for individual objects corresponding tomethod Get
eg./api/clusters_mgmt/v1/clusters/{cluster_id}
but not for collection lists e.g./api/clusters_mgmt/v1/clusters
@nimrodshn @jhernand I can send a PR to add those, will that be enough?
I see generated server code has special logic to return correct Kind, including link vs full object.
Will it automatically also return kind for lists?
The text was updated successfully, but these errors were encountered: