Skip to content

Commit

Permalink
Added temporary suppression message for location lookup endpoint.
Browse files Browse the repository at this point in the history
  • Loading branch information
tacosontitan committed Jul 31, 2024
1 parent 5ddb769 commit c0bfbb6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Weatherstack/Locations/LocationLookupEndpoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// This file is part of the Weatherstack project, which is distributed under the MIT license.
// See LICENSE for more information.

using System.Net.Http;
using System.Diagnostics.CodeAnalysis;

using Weatherstack.Net;

Expand All @@ -15,6 +15,10 @@ namespace Weatherstack.Locations;
/// </see>
/// endpoint for the Weatherstack API.
/// </summary>
[SuppressMessage(
category: "Code Quality",
checkId: "CA1812:Avoid uninstantiated internal classes",
Justification = "This class will be used in an upcoming extension to the Weatherstack service.")]
internal sealed class LocationLookupEndpoint()
: ApiEndpoint(
method: HttpMethod.Get,

Check failure on line 24 in src/Weatherstack/Locations/LocationLookupEndpoint.cs

View workflow job for this annotation

GitHub Actions / build

The name 'HttpMethod' does not exist in the current context

Check failure on line 24 in src/Weatherstack/Locations/LocationLookupEndpoint.cs

View workflow job for this annotation

GitHub Actions / build

The name 'HttpMethod' does not exist in the current context
Expand Down

0 comments on commit c0bfbb6

Please sign in to comment.