0

I have installed WebApi HelpPages on an existing project. I can see list of API's (including areas api's). But clicking on link just don't work to see details of API. I can't figure what i misunderstand.

Help Page Web Api link doesn't work Api itself work fine at http://localhost:23310/clases/api/_fakeTestApi/SumOver/3

maybe something with routing ?

We are using dozens of api's around areas in project without any kind of problem.... Only trying expose some of them.

Edit1 Thinking on routing, based on Marcus Höglund answer here I have already intent config.MapHttpAttributeRoutes(); in WebApiconfig and:

    [HttpGet]
    [Route("api/myNewRoute/SumOver")]
    public HttpResponseMessage SumOver(int id){
        //do some stuff     
    }

Same result here....

enter image description here

stefmex
  • 584
  • 1
  • 6
  • 11

1 Answers1

0

Not really solved, but ASP.NET Core web API help pages with Swagger / OpenAPI work fine... using config.MapHttpAttributeRoutes();

stefmex
  • 584
  • 1
  • 6
  • 11