Friday, May 24, 2013

Introducing EndpointMvc

EndpointMvc is a library that dynamically created documentation for your api endpoints. All you have to do is register EndpointMvc’s routes, and add an attribute to your classes to indicate that it is an endpoint.

All the information comes from the method signature itself, or attributes that are added to the methods, classes, parameters, and properties. Most of the attributes are built-in attributes, only a few other attributes are used to add additional information that attributes do not currently exist for.

EndpointMvc supports three output formats, Html, Json, and Xml. The Html format requires the view to be part of your projects views, but the sample mvc project has a starting point for the Html format.

EndpointMvc is also available via Nuget:

Install-Package EndpointMvc

No comments:

Post a Comment

Introducing EndpointMvc

EndpointMvc is a library that dynamically created documentation for your api endpoints. All you have to do is register EndpointMvc’s routes, and add an attribute to your classes to indicate that it is an endpoint.

All the information comes from the method signature itself, or attributes that are added to the methods, classes, parameters, and properties. Most of the attributes are built-in attributes, only a few other attributes are used to add additional information that attributes do not currently exist for.

EndpointMvc supports three output formats, Html, Json, and Xml. The Html format requires the view to be part of your projects views, but the sample mvc project has a starting point for the Html format.

EndpointMvc is also available via Nuget:

Install-Package EndpointMvc