From 5d1874028bcad62cdf87554ea119a78fa3417a78 Mon Sep 17 00:00:00 2001 From: wing328 Date: Mon, 2 Apr 2018 16:36:01 +0800 Subject: [PATCH] add class as a keyword in objc generator --- .../org/openapitools/codegen/languages/ObjcClientCodegen.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/ObjcClientCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/ObjcClientCodegen.java index 65035363e9a6..9e09eb427c4a 100644 --- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/ObjcClientCodegen.java +++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/ObjcClientCodegen.java @@ -146,7 +146,7 @@ public ObjcClientCodegen() { "NSObject", "NSInteger", "NSNumber", "CGFloat", "property", "nonatomic", "retain", "strong", "weak", "unsafe_unretained", "readwrite", "readonly", - "description" + "description", "class" )); importMapping = new HashMap();