danieleli / Swagger.Net

Library to document the ASP.NET Web API using the Swagger specification
http://danieleli.github.com/Swagger.Net/
13 stars 3 forks source link

Mark DocsController/GetCustomMeta private to avoid route error #1

Closed jafin closed 11 years ago

jafin commented 11 years ago

You might need to mark GetCustomMeta() private as I'm getting a routing error due to it conflicting with the Get() in the same controller.

Multiple actions were found that match the request: System.Net.Http.HttpResponseMessage Get() on type Swagger.Net.DocsController System.Net.Http.HttpResponseMessage GetCustomMeta() on type Swagger.Net.DocsController

danieleli commented 11 years ago

Updated, thanks for tip!