Add SupressMessage to OpenApiHttpTrigger/OpenApiHttpTriggerContext (#23)

This commit is contained in:
Justin Yoo 2021-01-29 11:54:24 +09:00 коммит произвёл GitHub
Родитель 7afd7362e7
Коммит 1e4e372cdc
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 14 добавлений и 0 удалений

Просмотреть файл

@ -1,4 +1,5 @@
using System.Net;
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs.Extensions.OpenApi.Core.Attributes;
@ -13,6 +14,12 @@ namespace Microsoft.Azure.WebJobs.Extensions.OpenApi
/// <summary>
/// This represents the HTTP trigger entity for Open API documents.
/// </summary>
[SuppressMessage("Design", "CA1823", Justification = "")]
[SuppressMessage("Design", "MEN002", Justification = "")]
[SuppressMessage("Design", "SA1206", Justification = "")]
[SuppressMessage("Layout Rules", "SA1311", Justification = "")]
[SuppressMessage("Layout Rules", "SA1500", Justification = "")]
[SuppressMessage("Readability Rules", "SX1101", Justification = "")]
public static class OpenApiHttpTrigger
{
private const string V2 = "v2";

Просмотреть файл

@ -1,4 +1,5 @@
using System;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using Microsoft.Azure.WebJobs.Extensions.OpenApi.Core;
@ -19,6 +20,12 @@ namespace Microsoft.Azure.WebJobs.Extensions.OpenApi
/// <summary>
/// This represents the context entity for <see cref="OpenApiHttpTrigger"/>.
/// </summary>
[SuppressMessage("Design", "CA1823", Justification = "")]
[SuppressMessage("Design", "MEN002", Justification = "")]
[SuppressMessage("Design", "SA1206", Justification = "")]
[SuppressMessage("Layout Rules", "SA1311", Justification = "")]
[SuppressMessage("Layout Rules", "SA1500", Justification = "")]
[SuppressMessage("Readability Rules", "SX1101", Justification = "")]
public class OpenApiHttpTriggerContext : IOpenApiHttpTriggerContext
{
/// <summary>