Skip to content

Commit 19d8766

Browse files
committed
Fix model inheritance.
1 parent e270fdc commit 19d8766

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/swagger-codegen/src/main/resources/objc/model-header.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
@protocol {{classname}}
1717
@end
1818

19-
@interface {{classname}} : {{classPrefix}}Object
19+
@interface {{classname}} : {{#parent}}{{{parent}}}{{/parent}}{{^parent}}{{classPrefix}}Object{{/parent}}
2020

2121
{{#vars}}
2222
{{#description}}/* {{{description}}} {{^required}}[optional]{{/required}}

0 commit comments

Comments
 (0)