Skip to content

Commit 68bd434

Browse files
Stayronycommonsensesoftware
authored andcommitted
fix version
v3 instead of v1
1 parent 7ace1e3 commit 68bd434

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/aspnetcore/ByNamespaceSample/V3/Controllers/OrdersController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
[Route( "v{version:apiVersion}/[controller]" )]
88
public class OrdersController : Controller
99
{
10-
// GET ~/v1/orders/{accountId}
10+
// GET ~/v3/orders/{accountId}
1111
[HttpGet( "{accountId}" )]
1212
public IActionResult Get( string accountId ) => Ok( new Order( GetType().FullName, accountId, HttpContext.GetRequestedApiVersion().ToString() ) );
1313
}
14-
}
14+
}

0 commit comments

Comments
 (0)