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 }}
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.
I have a deep model structure. Working with MongoDb, this in not uncommon.
If main model (present in responseClass) contains another type/array$ref:"subModel", which contains a type/array$ref:"subModel2", the subModel2 models will not be shown in the final api listing .json.
The "requestedModels" array is only added to in one pass, so if there appear subModels, they will not be added.
My solution was to add online 185 (in swagger.js) this line:
for(var i=0;i<=2;i++) {
and close this for in line 222.
Now all my models are displayed.
The text was updated successfully, but these errors were encountered:
I have a deep model structure. Working with MongoDb, this in not uncommon.
If main model (present in responseClass) contains another type/array$ref:"subModel", which contains a type/array$ref:"subModel2", the subModel2 models will not be shown in the final api listing .json.
The "requestedModels" array is only added to in one pass, so if there appear subModels, they will not be added.
My solution was to add online 185 (in swagger.js) this line:
and close this for in line 222.
Now all my models are displayed.
The text was updated successfully, but these errors were encountered: