diff --git a/Swagger.Net.WebAPI/Controllers/PetController.cs b/Swagger.Net.WebAPI/Controllers/PetController.cs index ed68af9..1cff6b9 100644 --- a/Swagger.Net.WebAPI/Controllers/PetController.cs +++ b/Swagger.Net.WebAPI/Controllers/PetController.cs @@ -20,7 +20,7 @@ public class PetController : ApiController /// GET api/Pet /// /// - public HttpResponseMessage Get() + public HttpResponseMessage Get(int page = 1, int? size=10) { return Request.CreateResponse(HttpStatusCode.OK, new Pet[] { new Pet() { Id=1, Name="Pet #1"} , new Pet() { Id = 2, Name = "Pet #2" } }); }