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 am not sure if that's the right usage. obj2 > arrayAttribute has it's own field for documentation and should be used for populating the description field. API console would generate a description that isn't there. I'm rather skeptical for the console to generate anything that is not there.
@jstoiko any input on this? Would you agree with @vkaderabek? You know my opinion on generating content in the console.
Maybe it is not necessary to put there comment from object, but for now there is not mentioned array of which objects it is. It could be work around how to get to description.
Or maybe exists some another solution how to solve this issue. (I do not count copy description from object to all usage as array of this object - there is a big chance to forget in few places update description when changing object description.)
I mean I don't disagree with you. This place could have if not the description then at least an explanation. I believe there is something in generated model we can put. I am just not sure what that would be. I am not sure if the description is the best idea. Let's wait what @jstoiko has to say.
It seems like API console (intentionally?) hides individual object's information and instead, only displays the inner properties of the object.
I hope I am understanding correctly. If so, then I would argue that it makes sense NOT to display Obj1's description in this case because the only description that may appear in this case is arrayAttribute's description which is currently missing.
I have RAML file contains something like:
I expect that the description for array will be get from object from which is array composed.
![Snímek obrazovky 2019-08-05 v 14 16 19](https://user-images.githubusercontent.com/24653607/62465618-9cc6ee80-b78f-11e9-859a-e93c668be416.png)
As is shown here
It should be good if you want to use array of objects as attribute in multiple objects (it will not be necessary to copy description to each usage).
The text was updated successfully, but these errors were encountered: