Skip to content

Commit 8b0b4d2

Browse files
Chris Martinezcommonsensesoftware
authored andcommitted
Fixed route template
1 parent 173a2a8 commit 8b0b4d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/webapi/SwaggerWebApiSample/V3/Controllers/PeopleController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/// Represents a RESTful people service.
1111
/// </summary>
1212
[ApiVersion( "3.0" )]
13-
[RoutePrefix( "api/v{api-version:apiVersion}/orders" )]
13+
[RoutePrefix( "api/v{api-version:apiVersion}/people" )]
1414
public class PeopleController : ApiController
1515
{
1616
const string ByIdRouteName = "GetPersonById" + nameof( V3 );

0 commit comments

Comments
 (0)