Forum Discussion

guyshachar's avatar
guyshachar
Occasional Visitor
3 years ago

Swagger throws error for the following api method definition [HttpGet("{cancellationToken}")]

Swagger throws an error for the following api method definition [HttpGet("{cancellationToken}")]:

Failed to load API definition.

Fetch error

undefined /swagger/v1/swagger.json

 

 

When I remove the template from the attribute swagger works as expected.

 

Any idea ?

No RepliesBe the first to reply