Skip to content

Instantly share code, notes, and snippets.

@augusteo
Created March 12, 2016 23:57
Show Gist options
  • Select an option

  • Save augusteo/e8d7767f7e7b8236db52 to your computer and use it in GitHub Desktop.

Select an option

Save augusteo/e8d7767f7e7b8236db52 to your computer and use it in GitHub Desktop.
override func viewDidLoad() {
super.viewDidLoad()
SwaggerClientAPI.basePath = "http://localhost:4567"
SwaggerClientAPI.DefaultAPI.greetUser(name: "Melbourne").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