25 lines
537 B
VB.net
25 lines
537 B
VB.net
Imports System.Net
|
|
Imports System.Web.Http
|
|
Imports System.Web.Http.Description
|
|
Imports Microsoft.Web.Http
|
|
Imports Newtonsoft.Json
|
|
|
|
|
|
Namespace ApiController.Controllers
|
|
|
|
<ApiExplorerSettings(IgnoreApi:=True)> 'hide controller
|
|
<ApiVersion("1")>
|
|
<Route("api/v{version:apiVersion}/TEST")>
|
|
Public Class TESTController
|
|
Inherits System.Web.Http.ApiController
|
|
|
|
<MapToApiVersion("1")>
|
|
Public Function GetValues() As String
|
|
Return "TEST 1"
|
|
End Function
|
|
|
|
End Class
|
|
|
|
|
|
End Namespace
|