We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2ef04c commit 665e215Copy full SHA for 665e215
1 file changed
ProjectTemplates/ReferenceProject/Controllers/ProductsController.cs
@@ -115,7 +115,13 @@ public IActionResult ThrowAnException()
115
throw new Exception("Example exception");
116
}
117
118
+ /// <summary>
119
+ /// Demonstrate how to use application settings
120
+ /// </summary>
121
+ /// <returns>Application settings</returns>
122
+ /// <remarks>Don't do this in production! You can unintentionally unclose sensitive information</remarks>
123
[HttpGet("Settings")]
124
+ [ProducesResponseType(StatusCodes.Status200OK)]
125
public Settings.Products GetSettings()
126
{
127
return Settings.Value;
0 commit comments