mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 03:18:53 +00:00
fix for Optional
This commit is contained in:
parent
63fae85ff4
commit
8de8f48679
@ -12,8 +12,9 @@
|
||||
@interface {{classname}} : SWGObject
|
||||
|
||||
{{#vars}}
|
||||
{{#description}}/* {{{description}}} {{#isNotRequired}}[optional]{{/isNotRequired}} */{{/description}}
|
||||
@property(nonatomic) {{{ datatype }}}{{#isNotRequired}}<Optional>{{/isNotRequired}} {{name}};
|
||||
{{#description}}/* {{{description}}} {{^required}}[optional]{{/required}}
|
||||
*/{{/description}}
|
||||
@property(nonatomic) {{{ baseType }}}{{^required}}<Optional{{#complexType}}, {{complexType}}{{/complexType}}>{{/required}}* {{name}};
|
||||
{{/vars}}
|
||||
|
||||
@end
|
||||
|
Loading…
Reference in New Issue
Block a user