VersionInformationController Class
Provides version-related information about an HTTP API.
public sealed class VersionInformationController : Microsoft.AspNetCore.Mvc.ControllerInheritance System.Object 🡒 Microsoft.AspNetCore.Mvc.ControllerBase 🡒 Microsoft.AspNetCore.Mvc.Controller 🡒 VersionInformationController
Methods
Section titled “Methods”VersionInformationController.GetServiceInformation(IVersionedServiceInformation) Method
Section titled “VersionInformationController.GetServiceInformation(IVersionedServiceInformation) Method”Retrieves information about the API including its version.
public HAKOM.Versioning.Http.Net.Api.IVersionedServiceInformation GetServiceInformation(HAKOM.Versioning.Http.Net.Api.IVersionedServiceInformation serviceInformation);Parameters
Section titled “Parameters”serviceInformation IVersionedServiceInformation
Injected. The registered instance of IVersionedServiceInformation determines what’s returned by this endpoint.
Returns
Section titled “Returns”IVersionedServiceInformation
The registered IVersionedServiceInformation containing the services version and supported API versions.
Was this page helpful?Thanks for your feedback!