We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1b1840 commit eca20b2Copy full SHA for eca20b2
src/TesterApp/Controllers/StringDisplayController.cs
@@ -0,0 +1,14 @@
1
+using System.Net.Mime;
2
+using Simplify.Web;
3
+using Simplify.Web.Attributes;
4
+using Simplify.Web.Swagger;
5
+
6
+namespace TesterApp.Controllers
7
+{
8
+ [Get("string-display/{Str}")]
9
+ [ProducesResponse(StatusCodes.Status200OK, MediaTypeNames.Text.Plain)]
10
+ public class StringDisplayController : Controller
11
+ {
12
+ public override ControllerResponse Invoke() => Content("User string: " + RouteParameters.Str);
13
+ }
14
+}
0 commit comments