forked from loafle/openapi-generator-original
Added 'hash' to objcReservedWords (#8582)
Fix for https://github.com/OpenAPITools/openapi-generator/issues/7991
This commit is contained in:
parent
6dee98784a
commit
c12f6041f7
@ -140,6 +140,8 @@ public class Swift5ClientCodegen extends DefaultCodegen implements CodegenConfig
|
|||||||
// Added for Objective-C compatibility
|
// Added for Objective-C compatibility
|
||||||
"id", "description", "NSArray", "NSURL", "CGFloat", "NSSet", "NSString", "NSInteger", "NSUInteger",
|
"id", "description", "NSArray", "NSURL", "CGFloat", "NSSet", "NSString", "NSInteger", "NSUInteger",
|
||||||
"NSError", "NSDictionary",
|
"NSError", "NSDictionary",
|
||||||
|
// 'Property 'hash' with type 'String' cannot override a property with type 'Int' (when objcCompatible=true)
|
||||||
|
"hash",
|
||||||
// Cannot override with a stored property 'className'
|
// Cannot override with a stored property 'className'
|
||||||
"className"
|
"className"
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user