[OperationContract]
[FaultContract(typeof(EmployeeNotFoundContract))]
[FaultContract(typeof(ValidationFaultContract))]
[FaultContract(typeof(DbFaultContract))]
[SwaggerWcfTag("Employees", false)]
[SwaggerWcfPath(null, null, null, null, null, false, null, Summary = "The employee corresponding to the given employee code", Description = "Returns the employee associated with the given code")]
[WebGet(UriTemplate = "Employee?Abbreviation={employeeCode}", ResponseFormat = WebMessageFormat.Json)]
[SwaggerWcfResponse(StatusCode = HttpStatusCode.OK, Description = "Success")]
[SwaggerWcfResponse(StatusCode = HttpStatusCode.InternalServerError, Description = "An unexpected error occurred while processing the request.", Type = typeof(JsonErrorMessage))]
[SwaggerWcfResponse(StatusCode = HttpStatusCode.BadRequest, Description = "Fault exception", Type = typeof(JsonErrorMessage))]
EmployeeContract GetEmployee(string employeeCode)