tozevv/Swagger.Net — pull request #1 by Gcastelo (2014-02-12 00:04:27+00:00)
Title: Updated swagger to support WebApi 2.1 and new features

Original project, copyright and all rightfull credits in https://github.com/miketrionfo/Swagger.Net

Fork of Swagger.Net to include some simple new features:

- Support for WebApi 2.1
- Support for Models. Swagger will now output a tabbed structure of the response object. Which level is minimized and can be expanded by clicking +
- Support for response codes. Adding this to the action comments will show the response codes for each action. Ex.
///
/// 200Ok
/// 204No Content
/// 401Unauthorized
///
- SwaggerIgnore attribute - Excludes action from listing
- Added Required attribute to apply to properties. Applying this attribute will toogle the optional tag in the model property.
- Api Sources. It's now possible to have static documentation for the api in the docs/apiSources folder. The files in the folder contain the same structure as the JSON returned from the API but since they're static it allows to setup alternate routes.
- Enum parameters will render as dropdown list
- Support for jsonp response
- Parameter defaults. Will set a default value in the parameter text field The id.
- Will override the response type with the type provided. If the type is part of another dll, there needs to be the XML file for that assembly