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
When you using "bootprint swagger" to generate HTML, then the object AAA only displays the property ttt (in addition, you can see that AAA inherits from BBB). So, in order to see all properties, you need to click on the BBB object and then on the CCC object (because BBB inherits from CCC).
It would be really cool if the generator had an option that would render all the inherited properties (directly in AAA), so that it becomes easier to see which properties are part of the definition of AAA.
I have created mock-up screenshots of how this could look:
Here the "INHERITED PROPERTIES" section is collapsed:
And here it is expanded:
The text was updated successfully, but these errors were encountered:
It's an interesting feature. I can see the benefit. But before attempting to do this, I would like to do make sure that all of a swagger spec is really rendered. Some parts are still missing (not a lot) and this should be first priority.
In the long run, I would like to base bootprint on customize and customize-engine-handlebars which are both extracts of the bootprint-functionality. It would make it easier and cleaner to include the javascript libraries needed for interactive features (such as expanding nodes).
@msh321 just wanted to let you know that I made the changes I was talking about to bootprint. Now, all I need is a customize-engine for a JavaScript minifier and possibly one for plain resources like images.
Then, interactive features like the one you wish for could be implemented.
Consider the following Swagger Spec snippet:
When you using "bootprint swagger" to generate HTML, then the object
AAA
only displays the propertyttt
(in addition, you can see thatAAA
inherits fromBBB
). So, in order to see all properties, you need to click on theBBB
object and then on theCCC
object (becauseBBB
inherits fromCCC
).It would be really cool if the generator had an option that would render all the inherited properties (directly in
AAA
), so that it becomes easier to see which properties are part of the definition ofAAA
.I have created mock-up screenshots of how this could look:
Here the "INHERITED PROPERTIES" section is collapsed:
And here it is expanded:
The text was updated successfully, but these errors were encountered: