Commit 76204b9f authored by Dan Gershony's avatar Dan Gershony

Remove the version from the api controller

parent ec27e664
......@@ -5,7 +5,7 @@ using Stratis.Bitcoin.Notifications;
namespace Breeze.Api.Controllers
{
[Route("api/v{version:apiVersion}/[controller]")]
[Route("api/[controller]")]
public class NodeController : Controller
{
private readonly BlockNotification blockNotification;
......
......@@ -56,11 +56,6 @@ namespace Breeze.Api
.AddJsonOptions(options => NBitcoin.JsonConverters.Serializer.RegisterFrontConverters(options.SerializerSettings))
.AddControllers(services);
services.AddApiVersioning(options =>
{
options.DefaultApiVersion = new ApiVersion(1, 0);
});
// Register the Swagger generator, defining one or more Swagger documents
services.AddSwaggerGen(setup =>
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment