Created
March 13, 2016 00:03
-
-
Save augusteo/2a0e21503d7f6fa15059 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| override func viewDidLoad() { | |
| super.viewDidLoad() | |
| SwaggerClientAPI.basePath = "http://localhost:4567" | |
| SwaggerClientAPI.DefaultAPI.greetUser(name: "Melbourne").execute { (response, error) -> Void in | |
| print(response!.body.message!) | |
| } | |
| SwaggerClientAPI.DefaultAPI.sumTwo(first: 2, second: 4).execute { (response, error) -> Void in | |
| print(response!.body.message!) | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment