@@ -1275,6 +1275,16 @@ public CodeTemplateAttribute(string searchTemplate)
12751275 public string SuppressionKey { get ; set ; }
12761276 }
12771277
1278+ /// <summary>
1279+ /// Indicates that the string literal, passed as an argument matching this parameter,
1280+ /// should not be checked on spelling or grammar errors.
1281+ /// </summary>
1282+ [ AttributeUsage ( AttributeTargets . Parameter ) ]
1283+ [ Conditional ( "JETBRAINS_ANNOTATIONS" ) ]
1284+ public sealed class IgnoreSpellingAndGrammarErrorsAttribute : Attribute
1285+ {
1286+ }
1287+
12781288 #region ASP.NET
12791289
12801290 [ AttributeUsage ( AttributeTargets . Class , AllowMultiple = true ) ]
@@ -1738,6 +1748,29 @@ public sealed class AspMinimalApiGroupAttribute : Attribute { }
17381748 [ Conditional ( "JETBRAINS_ANNOTATIONS" ) ]
17391749 public sealed class AspMinimalApiHandlerAttribute : Attribute { }
17401750
1751+ /// <summary>
1752+ /// Indicates that the marked method contains Minimal API endpoint declaration.
1753+ /// </summary>
1754+ /// <remarks>
1755+ /// The IDE will analyze all usages of methods marked with this attribute,
1756+ /// and will add all declared in attributes routes to completion, navigation and other features over URI strings.
1757+ /// </remarks>
1758+ [ AttributeUsage ( AttributeTargets . Method , AllowMultiple = true ) ]
1759+ [ Conditional ( "JETBRAINS_ANNOTATIONS" ) ]
1760+ public sealed class AspMinimalApiImplicitEndpointDeclarationAttribute : Attribute
1761+ {
1762+ public string HttpVerb { get ; set ; }
1763+
1764+ public string RouteTemplate { get ; set ; }
1765+
1766+ public Type BodyType { get ; set ; }
1767+
1768+ /// <summary>
1769+ /// Comma-separated list of query parameters defined for endpoint
1770+ /// </summary>
1771+ public string QueryParameters { get ; set ; }
1772+ }
1773+
17411774 #endregion
17421775
17431776 #region Razor
0 commit comments