Skip to content

Commit

Permalink
Fix OrcaHello typo (#164)
Browse files Browse the repository at this point in the history
Also improve debuggability by adding ToString() to let the debugger
display the Name for the instance.

Signed-off-by: Dave Thaler <[email protected]>
  • Loading branch information
dthaler authored Sep 16, 2024
1 parent 69f1c9e commit 99eed83
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class Hydrophone
[SwaggerSchema("The hydrophone's location name.")]
public string Name { get; set; }

[SwaggerSchema("The hydrophone's location logitude.")]
[SwaggerSchema("The hydrophone's location longitude.")]
public double Longitude { get; set; }

[SwaggerSchema("The hydrophone's location latitude.")]
Expand All @@ -22,5 +22,6 @@ public class Hydrophone
[SwaggerSchema("HTML-formatted description of the hydrophone location.")]
public string IntroHtml { get; set; }

public override string ToString() => Name;
}
}

0 comments on commit 99eed83

Please sign in to comment.