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
@yonaskolb thanks for offering help to contribute to the Swift API client. For model inheritance, you may want to join the discussion at OAI/OpenAPI-Specification#403.
For your request to access the parent's properties using {{#parent}}{{#vars}} ... {{/vars}}{{/parent}} that you proposed, I think I understand what you meant as I've run into similar issue before when trying to add better support of model inheritance. Last time I checked, it's not easy. I'll take another look later to see if it can now be done without too much effort/time.
It would be useful to have access to a parent's vars.
This is for when
supportsInheritance
is set to true in DefaultCodegenThis would allow subclasses to references a super classes properties for doing stuff like the following
A parents variables could perhaps be references like this {{#parent}}{{#vars}} ... {{/vars}}{{/parent}}
Without this it's not possible to build the example above which is what I'm trying to achieve in a Swift target
The text was updated successfully, but these errors were encountered: