From 8eaf388624d7db9b982c564eac2577477d86554b Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Wed, 3 Feb 2016 16:54:48 +0200 Subject: [PATCH] Add one more code sample to demo --- demo/swagger.yml | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/demo/swagger.yml b/demo/swagger.yml index d7ab6e7b..7af5f3d8 100644 --- a/demo/swagger.yml +++ b/demo/swagger.yml @@ -184,26 +184,6 @@ } catch (UnprocessableEntityException $e) { var_dump($e->getErrors()); } - - - lang: C# - source: |- - PetStore.v1.Pet pet = new PetStore.v1.Pet(); - pet.setApiKey("your api key"); - pet.petType = PetStore.v1.Pet.TYPE_DOG; - pet.id = 1; - pet.name = "Rex"; - // set other fields - - PetStoreResponse response = pet.update(); - if (response.statusCode == HttpStatusCode.OK) - { - // Successfully updated - } - else - { - // Something wrong -- check response for errors - Console.WriteLine(response.getRawResponse()); - } security: - petstore_auth: