khellang/Nancy.Swagger — pull request #32 by TimSchlechter (2014-08-07 18:18:58+00:00)
Title: Added SwaggerRouteResponseAttribute

Implements SwaggerRouteResponseAttribute (#2)

Examples
```csharp
[SwaggerRoute(HttpMethod.Post, "/models/{id}")]
[SwaggerRouteResponse(HttpStatusCode.NotFound)]
[SwaggerRouteResponse(HttpStatusCode.ImATeapot, "I'm a teapot")]
[SwaggerRouteResponse(HttpStatusCode.InternalServerError, Model = typeof(string))]
[SwaggerRouteResponse(HttpStatusCode.OK, Message = "Everything OK", Model = typeof(TestModel))]
private dynamic PostModel(
[SwaggerRouteParam(ParameterType.Body, Required = true)] TestModel testModel
)
{
throw new NotImplementedException();
}
```