Skip to content

Commit 5a522ed

Browse files
committed
use ApiVersionNeutral for ErrorController
1 parent 2201acc commit 5a522ed

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

RestApi/Controllers/ErrorController.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
namespace RestApi.Controllers
88
{
99
[ApiController]
10-
[ApiVersion("1")]
11-
[ApiVersion("2")]
10+
[ApiVersionNeutral]
1211
[Route("api/[controller]")]
1312
[OpenApiIgnore]
1413
public class ErrorController : ControllerBase

0 commit comments

Comments
 (0)