From d7b10a17c1d7fafd6a3c8903b6ae1f555240a6b0 Mon Sep 17 00:00:00 2001 From: geekerzp Date: Wed, 10 Jun 2015 10:53:16 +0800 Subject: [PATCH] Renamed objc client from `PetstoreClient` to `SwaggerClient` --- .../codegen/languages/ObjcClientCodegen.java | 2 +- .../xcshareddata/PetstoreClient.xccheckout | 41 -------- samples/client/petstore/objc/Podfile | 2 +- samples/client/petstore/objc/Podfile.lock | 14 +-- .../contents.xcworkspacedata | 2 +- .../UserInterfaceState.xcuserstate | Bin 0 -> 7666 bytes .../SwaggerClient.xcodeproj}/project.pbxproj | 90 +++++++++--------- .../contents.xcworkspacedata | 0 .../xcshareddata/PetstoreClient.xccheckout | 0 .../UserInterfaceState.xcuserstate | Bin .../xcschemes/SwaggerClient.xcscheme} | 36 +++---- .../xcschemes/xcschememanagement.plist | 2 +- .../xcschemes/PetstoreClient.xcscheme | 0 .../xcschemes/xcschememanagement.plist | 0 .../SwaggerClient}/AppDelegate.h | 0 .../SwaggerClient}/AppDelegate.m | 0 .../Base.lproj/Main_iPad.storyboard | 0 .../Base.lproj/Main_iPhone.storyboard | 0 .../AppIcon.appiconset/Contents.json | 0 .../LaunchImage.launchimage/Contents.json | 0 .../SwaggerClient/SwaggerClient-Info.plist} | 0 .../SwaggerClient/SwaggerClient-Prefix.pch} | 0 .../SwaggerClient}/ViewController.h | 0 .../SwaggerClient}/ViewController.m | 0 .../SwaggerClient}/en.lproj/InfoPlist.strings | 0 .../SwaggerClient}/main.m | 0 .../SwaggerClient}/test-1.png | Bin .../SwaggerClientTests}/PetApiTest.h | 0 .../SwaggerClientTests}/PetApiTest.m | 0 .../SwaggerClientTests}/SWGApiClientTest.m | 0 .../SwaggerClientTests-Info.plist} | 0 .../en.lproj/InfoPlist.strings | 0 .../{PetstoreClient => SwaggerClient}/pom.xml | 0 samples/client/petstore/objc/client/SWGPet.h | 2 +- .../client/petstore/objc/client/SWGPetApi.m | 2 +- samples/client/petstore/objc/pom.xml | 4 +- 36 files changed, 78 insertions(+), 119 deletions(-) delete mode 100644 samples/client/petstore/objc/PetstoreClient.xcworkspace/xcshareddata/PetstoreClient.xccheckout rename samples/client/petstore/objc/{PetstoreClient.xcworkspace => SwaggerClient.xcworkspace}/contents.xcworkspacedata (73%) create mode 100644 samples/client/petstore/objc/SwaggerClient.xcworkspace/xcuserdata/geekerzp.xcuserdatad/UserInterfaceState.xcuserstate rename samples/client/petstore/objc/{PetstoreClient/PetstoreClient.xcodeproj => SwaggerClient/SwaggerClient.xcodeproj}/project.pbxproj (91%) rename samples/client/petstore/objc/{PetstoreClient/PetstoreClient.xcodeproj => SwaggerClient/SwaggerClient.xcodeproj}/project.xcworkspace/contents.xcworkspacedata (100%) rename samples/client/petstore/objc/{PetstoreClient/PetstoreClient.xcodeproj => SwaggerClient/SwaggerClient.xcodeproj}/project.xcworkspace/xcshareddata/PetstoreClient.xccheckout (100%) rename samples/client/petstore/objc/{PetstoreClient/PetstoreClient.xcodeproj => SwaggerClient/SwaggerClient.xcodeproj}/project.xcworkspace/xcuserdata/tony.xcuserdatad/UserInterfaceState.xcuserstate (100%) rename samples/client/petstore/objc/{PetstoreClient/PetstoreClient.xcodeproj/xcuserdata/geekerzp.xcuserdatad/xcschemes/PetstoreClient.xcscheme => SwaggerClient/SwaggerClient.xcodeproj/xcshareddata/xcschemes/SwaggerClient.xcscheme} (75%) rename samples/client/petstore/objc/{PetstoreClient/PetstoreClient.xcodeproj => SwaggerClient/SwaggerClient.xcodeproj}/xcuserdata/geekerzp.xcuserdatad/xcschemes/xcschememanagement.plist (91%) rename samples/client/petstore/objc/{PetstoreClient/PetstoreClient.xcodeproj => SwaggerClient/SwaggerClient.xcodeproj}/xcuserdata/tony.xcuserdatad/xcschemes/PetstoreClient.xcscheme (100%) rename samples/client/petstore/objc/{PetstoreClient/PetstoreClient.xcodeproj => SwaggerClient/SwaggerClient.xcodeproj}/xcuserdata/tony.xcuserdatad/xcschemes/xcschememanagement.plist (100%) rename samples/client/petstore/objc/{PetstoreClient/PetstoreClient => SwaggerClient/SwaggerClient}/AppDelegate.h (100%) rename samples/client/petstore/objc/{PetstoreClient/PetstoreClient => SwaggerClient/SwaggerClient}/AppDelegate.m (100%) rename samples/client/petstore/objc/{PetstoreClient/PetstoreClient => SwaggerClient/SwaggerClient}/Base.lproj/Main_iPad.storyboard (100%) rename samples/client/petstore/objc/{PetstoreClient/PetstoreClient => SwaggerClient/SwaggerClient}/Base.lproj/Main_iPhone.storyboard (100%) rename samples/client/petstore/objc/{PetstoreClient/PetstoreClient => SwaggerClient/SwaggerClient}/Images.xcassets/AppIcon.appiconset/Contents.json (100%) rename samples/client/petstore/objc/{PetstoreClient/PetstoreClient => SwaggerClient/SwaggerClient}/Images.xcassets/LaunchImage.launchimage/Contents.json (100%) rename samples/client/petstore/objc/{PetstoreClient/PetstoreClient/PetstoreClient-Info.plist => SwaggerClient/SwaggerClient/SwaggerClient-Info.plist} (100%) rename samples/client/petstore/objc/{PetstoreClient/PetstoreClient/PetstoreClient-Prefix.pch => SwaggerClient/SwaggerClient/SwaggerClient-Prefix.pch} (100%) rename samples/client/petstore/objc/{PetstoreClient/PetstoreClient => SwaggerClient/SwaggerClient}/ViewController.h (100%) rename samples/client/petstore/objc/{PetstoreClient/PetstoreClient => SwaggerClient/SwaggerClient}/ViewController.m (100%) rename samples/client/petstore/objc/{PetstoreClient/PetstoreClient => SwaggerClient/SwaggerClient}/en.lproj/InfoPlist.strings (100%) rename samples/client/petstore/objc/{PetstoreClient/PetstoreClient => SwaggerClient/SwaggerClient}/main.m (100%) rename samples/client/petstore/objc/{PetstoreClient/PetstoreClient => SwaggerClient/SwaggerClient}/test-1.png (100%) rename samples/client/petstore/objc/{PetstoreClient/PetstoreClientTests => SwaggerClient/SwaggerClientTests}/PetApiTest.h (100%) rename samples/client/petstore/objc/{PetstoreClient/PetstoreClientTests => SwaggerClient/SwaggerClientTests}/PetApiTest.m (100%) rename samples/client/petstore/objc/{PetstoreClient/PetstoreClientTests => SwaggerClient/SwaggerClientTests}/SWGApiClientTest.m (100%) rename samples/client/petstore/objc/{PetstoreClient/PetstoreClientTests/PetstoreClientTests-Info.plist => SwaggerClient/SwaggerClientTests/SwaggerClientTests-Info.plist} (100%) rename samples/client/petstore/objc/{PetstoreClient/PetstoreClientTests => SwaggerClient/SwaggerClientTests}/en.lproj/InfoPlist.strings (100%) rename samples/client/petstore/objc/{PetstoreClient => SwaggerClient}/pom.xml (100%) diff --git a/modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/ObjcClientCodegen.java b/modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/ObjcClientCodegen.java index f0c0a8ffa801..01f72040bf53 100644 --- a/modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/ObjcClientCodegen.java +++ b/modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/ObjcClientCodegen.java @@ -20,7 +20,7 @@ public class ObjcClientCodegen extends DefaultCodegen implements CodegenConfig { protected Set foundationClasses = new HashSet(); protected String sourceFolder = "client"; protected String classPrefix = "SWG"; - protected String projectName = "swaggerClient"; + protected String projectName = "SwaggerClient"; public ObjcClientCodegen() { super(); diff --git a/samples/client/petstore/objc/PetstoreClient.xcworkspace/xcshareddata/PetstoreClient.xccheckout b/samples/client/petstore/objc/PetstoreClient.xcworkspace/xcshareddata/PetstoreClient.xccheckout deleted file mode 100644 index fafd21fb8eba..000000000000 --- a/samples/client/petstore/objc/PetstoreClient.xcworkspace/xcshareddata/PetstoreClient.xccheckout +++ /dev/null @@ -1,41 +0,0 @@ - - - - - IDESourceControlProjectFavoriteDictionaryKey - - IDESourceControlProjectIdentifier - 81EB09FA-DD8C-4FE1-82D3-1FB6FF0D9C43 - IDESourceControlProjectName - PetstoreClient - IDESourceControlProjectOriginsDictionary - - E5BBF0AA85077C865C95437976D06D819733A208 - ssh://github.com/wordnik/swagger-codegen.git - - IDESourceControlProjectPath - samples/client/petstore/objc/PetstoreClient.xcworkspace - IDESourceControlProjectRelativeInstallPathDictionary - - E5BBF0AA85077C865C95437976D06D819733A208 - ../../../../.. - - IDESourceControlProjectURL - ssh://github.com/wordnik/swagger-codegen.git - IDESourceControlProjectVersion - 111 - IDESourceControlProjectWCCIdentifier - E5BBF0AA85077C865C95437976D06D819733A208 - IDESourceControlProjectWCConfigurations - - - IDESourceControlRepositoryExtensionIdentifierKey - public.vcs.git - IDESourceControlWCCIdentifierKey - E5BBF0AA85077C865C95437976D06D819733A208 - IDESourceControlWCCName - swagger-codegen - - - - diff --git a/samples/client/petstore/objc/Podfile b/samples/client/petstore/objc/Podfile index 69e4c26ca1be..ad41463f60c2 100644 --- a/samples/client/petstore/objc/Podfile +++ b/samples/client/petstore/objc/Podfile @@ -1,5 +1,5 @@ platform :ios, '6.0' -xcodeproj 'swaggerClient/PetstoreClient.xcodeproj' +xcodeproj 'SwaggerClient/SwaggerClient.xcodeproj' pod 'AFNetworking', '~> 2.1' pod 'JSONModel', '~> 1.0' pod 'ISO8601' diff --git a/samples/client/petstore/objc/Podfile.lock b/samples/client/petstore/objc/Podfile.lock index ceb0fad1a42e..48b1f809658e 100644 --- a/samples/client/petstore/objc/Podfile.lock +++ b/samples/client/petstore/objc/Podfile.lock @@ -1,11 +1,11 @@ PODS: - AFNetworking (2.5.4): - - AFNetworking/NSURLConnection - - AFNetworking/NSURLSession - - AFNetworking/Reachability - - AFNetworking/Security - - AFNetworking/Serialization - - AFNetworking/UIKit + - AFNetworking/NSURLConnection (= 2.5.4) + - AFNetworking/NSURLSession (= 2.5.4) + - AFNetworking/Reachability (= 2.5.4) + - AFNetworking/Security (= 2.5.4) + - AFNetworking/Serialization (= 2.5.4) + - AFNetworking/UIKit (= 2.5.4) - AFNetworking/NSURLConnection (2.5.4): - AFNetworking/Reachability - AFNetworking/Security @@ -33,4 +33,4 @@ SPEC CHECKSUMS: ISO8601: 8d8a22d5edf0554a1cf75bac028c76c1dc0ffaef JSONModel: ec77e9865236a7a09d9cf7668df6b4b328d9ec1d -COCOAPODS: 0.33.1 +COCOAPODS: 0.37.1 diff --git a/samples/client/petstore/objc/PetstoreClient.xcworkspace/contents.xcworkspacedata b/samples/client/petstore/objc/SwaggerClient.xcworkspace/contents.xcworkspacedata similarity index 73% rename from samples/client/petstore/objc/PetstoreClient.xcworkspace/contents.xcworkspacedata rename to samples/client/petstore/objc/SwaggerClient.xcworkspace/contents.xcworkspacedata index 4ea151191719..4fa5c7f565bb 100644 --- a/samples/client/petstore/objc/PetstoreClient.xcworkspace/contents.xcworkspacedata +++ b/samples/client/petstore/objc/SwaggerClient.xcworkspace/contents.xcworkspacedata @@ -2,7 +2,7 @@ + location = "group:SwaggerClient/SwaggerClient.xcodeproj"> diff --git a/samples/client/petstore/objc/SwaggerClient.xcworkspace/xcuserdata/geekerzp.xcuserdatad/UserInterfaceState.xcuserstate b/samples/client/petstore/objc/SwaggerClient.xcworkspace/xcuserdata/geekerzp.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000000000000000000000000000000000000..79012184db63a3743953f712c7514d98f2b40464 GIT binary patch literal 7666 zcma)B34B!5)j#)UmNzqRX5K6?6V`+*KuALNNkEpYih&R^A?ys3nU~~|$xNID2gkrCN$;t)=~J{mz>=6EZ?u$uF6C@1A?k zxo7#Ga}Vvk0VxtKDta9VP)Gw6s6j(_(>oStuMxu$DHL3s9co`K`l68~+1{|POTyQ! z+0jt1708Ywr-bvM1rBUrhY>IlCc$LLgDH>?1yBf6p%kj15$3`?XoC6B3=5zI+|UY3 zVHvD~E|6d~bVC3_uol+A2G|TcU?)R&Qb3AH z37JV|k=dl0)Q~1JpEQ#Nq=hUb%gA!Fg7`=m=_R+2KC+%{Cfmp^au>Oq>?4QBVR8?- zkDMZB$fM*5@-+D+d6WE#yhYw7zb5aH-;m#ucggR_AIL@WXL5w3gPdN2SFX0R@5au;@seUYX3nQ&iQwlCm~ zL00>}VDz=GbdW7uqqN>`uQddzybyZDqL0N4{eL+=Cd0m04sG-tTT~zHV zcDX!)eNJ8dqENUy((Cn!bs=A@M+`=jf=9wQ$UO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sq|ehA=%?z7^%eSB{muHh`X+s|evy8OewluS z-lN~GAJjjte^&p3{>S>4^uN@S4_mj znd~N)sn%3)y3sVp)M)aXI!s-r)uw%A_!c)Qzg=dB5h1Z4O2_IRgMP<=gIE&uGTTB+gVzt;U z6D^Z1Q!E9Rsg`0(sioZFvQ$~7Tk0*%7ReH`++pdroVC1SxnTL+I>TCLZL}`5wp%4@ zx3$L_vaYeNv#z&pv~ISZw!UnA-+IaVckBOI|7rcgMr>&|wascvw~e-qwT-vs+9uiZ zZ27iA+alX`+iBZ5+j-khZExFtZ+qW%!S;devh5Swr?$^*SM0=|X4lzA+Q-_*+cWK1 z_B?yOz0h7{FR@Rz&$Q3AFR`z(x7+>p4ttM1WWU88vB&J2?c42p?ca2$9a@Lr80W}w z + BuildableName = "SwaggerClient.app" + BlueprintName = "SwaggerClient" + ReferencedContainer = "container:SwaggerClient.xcodeproj"> + BuildableName = "SwaggerClientTests.xctest" + BlueprintName = "SwaggerClientTests" + ReferencedContainer = "container:SwaggerClient.xcodeproj"> @@ -47,9 +47,9 @@ + BuildableName = "SwaggerClientTests.xctest" + BlueprintName = "SwaggerClientTests" + ReferencedContainer = "container:SwaggerClient.xcodeproj"> @@ -57,9 +57,9 @@ + BuildableName = "SwaggerClient.app" + BlueprintName = "SwaggerClient" + ReferencedContainer = "container:SwaggerClient.xcodeproj"> @@ -77,9 +77,9 @@ + BuildableName = "SwaggerClient.app" + BlueprintName = "SwaggerClient" + ReferencedContainer = "container:SwaggerClient.xcodeproj"> @@ -96,9 +96,9 @@ + BuildableName = "SwaggerClient.app" + BlueprintName = "SwaggerClient" + ReferencedContainer = "container:SwaggerClient.xcodeproj"> diff --git a/samples/client/petstore/objc/PetstoreClient/PetstoreClient.xcodeproj/xcuserdata/geekerzp.xcuserdatad/xcschemes/xcschememanagement.plist b/samples/client/petstore/objc/SwaggerClient/SwaggerClient.xcodeproj/xcuserdata/geekerzp.xcuserdatad/xcschemes/xcschememanagement.plist similarity index 91% rename from samples/client/petstore/objc/PetstoreClient/PetstoreClient.xcodeproj/xcuserdata/geekerzp.xcuserdatad/xcschemes/xcschememanagement.plist rename to samples/client/petstore/objc/SwaggerClient/SwaggerClient.xcodeproj/xcuserdata/geekerzp.xcuserdatad/xcschemes/xcschememanagement.plist index 912710bdccc5..a0145d5cea82 100644 --- a/samples/client/petstore/objc/PetstoreClient/PetstoreClient.xcodeproj/xcuserdata/geekerzp.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/samples/client/petstore/objc/SwaggerClient/SwaggerClient.xcodeproj/xcuserdata/geekerzp.xcuserdatad/xcschemes/xcschememanagement.plist @@ -4,7 +4,7 @@ SchemeUserState - PetstoreClient.xcscheme + SwaggerClient.xcscheme_^#shared#^_ orderHint 4 diff --git a/samples/client/petstore/objc/PetstoreClient/PetstoreClient.xcodeproj/xcuserdata/tony.xcuserdatad/xcschemes/PetstoreClient.xcscheme b/samples/client/petstore/objc/SwaggerClient/SwaggerClient.xcodeproj/xcuserdata/tony.xcuserdatad/xcschemes/PetstoreClient.xcscheme similarity index 100% rename from samples/client/petstore/objc/PetstoreClient/PetstoreClient.xcodeproj/xcuserdata/tony.xcuserdatad/xcschemes/PetstoreClient.xcscheme rename to samples/client/petstore/objc/SwaggerClient/SwaggerClient.xcodeproj/xcuserdata/tony.xcuserdatad/xcschemes/PetstoreClient.xcscheme diff --git a/samples/client/petstore/objc/PetstoreClient/PetstoreClient.xcodeproj/xcuserdata/tony.xcuserdatad/xcschemes/xcschememanagement.plist b/samples/client/petstore/objc/SwaggerClient/SwaggerClient.xcodeproj/xcuserdata/tony.xcuserdatad/xcschemes/xcschememanagement.plist similarity index 100% rename from samples/client/petstore/objc/PetstoreClient/PetstoreClient.xcodeproj/xcuserdata/tony.xcuserdatad/xcschemes/xcschememanagement.plist rename to samples/client/petstore/objc/SwaggerClient/SwaggerClient.xcodeproj/xcuserdata/tony.xcuserdatad/xcschemes/xcschememanagement.plist diff --git a/samples/client/petstore/objc/PetstoreClient/PetstoreClient/AppDelegate.h b/samples/client/petstore/objc/SwaggerClient/SwaggerClient/AppDelegate.h similarity index 100% rename from samples/client/petstore/objc/PetstoreClient/PetstoreClient/AppDelegate.h rename to samples/client/petstore/objc/SwaggerClient/SwaggerClient/AppDelegate.h diff --git a/samples/client/petstore/objc/PetstoreClient/PetstoreClient/AppDelegate.m b/samples/client/petstore/objc/SwaggerClient/SwaggerClient/AppDelegate.m similarity index 100% rename from samples/client/petstore/objc/PetstoreClient/PetstoreClient/AppDelegate.m rename to samples/client/petstore/objc/SwaggerClient/SwaggerClient/AppDelegate.m diff --git a/samples/client/petstore/objc/PetstoreClient/PetstoreClient/Base.lproj/Main_iPad.storyboard b/samples/client/petstore/objc/SwaggerClient/SwaggerClient/Base.lproj/Main_iPad.storyboard similarity index 100% rename from samples/client/petstore/objc/PetstoreClient/PetstoreClient/Base.lproj/Main_iPad.storyboard rename to samples/client/petstore/objc/SwaggerClient/SwaggerClient/Base.lproj/Main_iPad.storyboard diff --git a/samples/client/petstore/objc/PetstoreClient/PetstoreClient/Base.lproj/Main_iPhone.storyboard b/samples/client/petstore/objc/SwaggerClient/SwaggerClient/Base.lproj/Main_iPhone.storyboard similarity index 100% rename from samples/client/petstore/objc/PetstoreClient/PetstoreClient/Base.lproj/Main_iPhone.storyboard rename to samples/client/petstore/objc/SwaggerClient/SwaggerClient/Base.lproj/Main_iPhone.storyboard diff --git a/samples/client/petstore/objc/PetstoreClient/PetstoreClient/Images.xcassets/AppIcon.appiconset/Contents.json b/samples/client/petstore/objc/SwaggerClient/SwaggerClient/Images.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from samples/client/petstore/objc/PetstoreClient/PetstoreClient/Images.xcassets/AppIcon.appiconset/Contents.json rename to samples/client/petstore/objc/SwaggerClient/SwaggerClient/Images.xcassets/AppIcon.appiconset/Contents.json diff --git a/samples/client/petstore/objc/PetstoreClient/PetstoreClient/Images.xcassets/LaunchImage.launchimage/Contents.json b/samples/client/petstore/objc/SwaggerClient/SwaggerClient/Images.xcassets/LaunchImage.launchimage/Contents.json similarity index 100% rename from samples/client/petstore/objc/PetstoreClient/PetstoreClient/Images.xcassets/LaunchImage.launchimage/Contents.json rename to samples/client/petstore/objc/SwaggerClient/SwaggerClient/Images.xcassets/LaunchImage.launchimage/Contents.json diff --git a/samples/client/petstore/objc/PetstoreClient/PetstoreClient/PetstoreClient-Info.plist b/samples/client/petstore/objc/SwaggerClient/SwaggerClient/SwaggerClient-Info.plist similarity index 100% rename from samples/client/petstore/objc/PetstoreClient/PetstoreClient/PetstoreClient-Info.plist rename to samples/client/petstore/objc/SwaggerClient/SwaggerClient/SwaggerClient-Info.plist diff --git a/samples/client/petstore/objc/PetstoreClient/PetstoreClient/PetstoreClient-Prefix.pch b/samples/client/petstore/objc/SwaggerClient/SwaggerClient/SwaggerClient-Prefix.pch similarity index 100% rename from samples/client/petstore/objc/PetstoreClient/PetstoreClient/PetstoreClient-Prefix.pch rename to samples/client/petstore/objc/SwaggerClient/SwaggerClient/SwaggerClient-Prefix.pch diff --git a/samples/client/petstore/objc/PetstoreClient/PetstoreClient/ViewController.h b/samples/client/petstore/objc/SwaggerClient/SwaggerClient/ViewController.h similarity index 100% rename from samples/client/petstore/objc/PetstoreClient/PetstoreClient/ViewController.h rename to samples/client/petstore/objc/SwaggerClient/SwaggerClient/ViewController.h diff --git a/samples/client/petstore/objc/PetstoreClient/PetstoreClient/ViewController.m b/samples/client/petstore/objc/SwaggerClient/SwaggerClient/ViewController.m similarity index 100% rename from samples/client/petstore/objc/PetstoreClient/PetstoreClient/ViewController.m rename to samples/client/petstore/objc/SwaggerClient/SwaggerClient/ViewController.m diff --git a/samples/client/petstore/objc/PetstoreClient/PetstoreClient/en.lproj/InfoPlist.strings b/samples/client/petstore/objc/SwaggerClient/SwaggerClient/en.lproj/InfoPlist.strings similarity index 100% rename from samples/client/petstore/objc/PetstoreClient/PetstoreClient/en.lproj/InfoPlist.strings rename to samples/client/petstore/objc/SwaggerClient/SwaggerClient/en.lproj/InfoPlist.strings diff --git a/samples/client/petstore/objc/PetstoreClient/PetstoreClient/main.m b/samples/client/petstore/objc/SwaggerClient/SwaggerClient/main.m similarity index 100% rename from samples/client/petstore/objc/PetstoreClient/PetstoreClient/main.m rename to samples/client/petstore/objc/SwaggerClient/SwaggerClient/main.m diff --git a/samples/client/petstore/objc/PetstoreClient/PetstoreClient/test-1.png b/samples/client/petstore/objc/SwaggerClient/SwaggerClient/test-1.png similarity index 100% rename from samples/client/petstore/objc/PetstoreClient/PetstoreClient/test-1.png rename to samples/client/petstore/objc/SwaggerClient/SwaggerClient/test-1.png diff --git a/samples/client/petstore/objc/PetstoreClient/PetstoreClientTests/PetApiTest.h b/samples/client/petstore/objc/SwaggerClient/SwaggerClientTests/PetApiTest.h similarity index 100% rename from samples/client/petstore/objc/PetstoreClient/PetstoreClientTests/PetApiTest.h rename to samples/client/petstore/objc/SwaggerClient/SwaggerClientTests/PetApiTest.h diff --git a/samples/client/petstore/objc/PetstoreClient/PetstoreClientTests/PetApiTest.m b/samples/client/petstore/objc/SwaggerClient/SwaggerClientTests/PetApiTest.m similarity index 100% rename from samples/client/petstore/objc/PetstoreClient/PetstoreClientTests/PetApiTest.m rename to samples/client/petstore/objc/SwaggerClient/SwaggerClientTests/PetApiTest.m diff --git a/samples/client/petstore/objc/PetstoreClient/PetstoreClientTests/SWGApiClientTest.m b/samples/client/petstore/objc/SwaggerClient/SwaggerClientTests/SWGApiClientTest.m similarity index 100% rename from samples/client/petstore/objc/PetstoreClient/PetstoreClientTests/SWGApiClientTest.m rename to samples/client/petstore/objc/SwaggerClient/SwaggerClientTests/SWGApiClientTest.m diff --git a/samples/client/petstore/objc/PetstoreClient/PetstoreClientTests/PetstoreClientTests-Info.plist b/samples/client/petstore/objc/SwaggerClient/SwaggerClientTests/SwaggerClientTests-Info.plist similarity index 100% rename from samples/client/petstore/objc/PetstoreClient/PetstoreClientTests/PetstoreClientTests-Info.plist rename to samples/client/petstore/objc/SwaggerClient/SwaggerClientTests/SwaggerClientTests-Info.plist diff --git a/samples/client/petstore/objc/PetstoreClient/PetstoreClientTests/en.lproj/InfoPlist.strings b/samples/client/petstore/objc/SwaggerClient/SwaggerClientTests/en.lproj/InfoPlist.strings similarity index 100% rename from samples/client/petstore/objc/PetstoreClient/PetstoreClientTests/en.lproj/InfoPlist.strings rename to samples/client/petstore/objc/SwaggerClient/SwaggerClientTests/en.lproj/InfoPlist.strings diff --git a/samples/client/petstore/objc/PetstoreClient/pom.xml b/samples/client/petstore/objc/SwaggerClient/pom.xml similarity index 100% rename from samples/client/petstore/objc/PetstoreClient/pom.xml rename to samples/client/petstore/objc/SwaggerClient/pom.xml diff --git a/samples/client/petstore/objc/client/SWGPet.h b/samples/client/petstore/objc/client/SWGPet.h index 73ff540386d4..edd54e9f31aa 100644 --- a/samples/client/petstore/objc/client/SWGPet.h +++ b/samples/client/petstore/objc/client/SWGPet.h @@ -1,7 +1,7 @@ #import #import "SWGObject.h" -#import "SWGCategory.h" #import "SWGTag.h" +#import "SWGCategory.h" @protocol SWGPet diff --git a/samples/client/petstore/objc/client/SWGPetApi.m b/samples/client/petstore/objc/client/SWGPetApi.m index e35e462c7331..c14da125af5b 100644 --- a/samples/client/petstore/objc/client/SWGPetApi.m +++ b/samples/client/petstore/objc/client/SWGPetApi.m @@ -544,7 +544,7 @@ static NSString * basePath = @"http://petstore.swagger.io/v2"; NSString *requestContentType = [SWGApiClient selectHeaderContentType:@[]]; // Authentication setting - NSArray *authSettings = @[@"petstore_auth", @"api_key"]; + NSArray *authSettings = @[@"api_key", @"petstore_auth"]; id bodyDictionary = nil; diff --git a/samples/client/petstore/objc/pom.xml b/samples/client/petstore/objc/pom.xml index 718ef5e1d6fb..85fc5ff61391 100644 --- a/samples/client/petstore/objc/pom.xml +++ b/samples/client/petstore/objc/pom.xml @@ -49,9 +49,9 @@ xcodebuild -workspace - PetstoreClient.xcworkspace + SwaggerClient.xcworkspace -scheme - PetstoreClient + SwaggerClient test -destination platform=iOS Simulator,name=iPhone 6,OS=8.3