Adds more confs for handlers and try to fix error with swagger when using attribute

This commit is contained in:
Dmitri Shimanski
2025-04-01 18:54:55 +03:00
parent 54779bb793
commit 59ddda6077
8 changed files with 68 additions and 28 deletions

View File

@@ -0,0 +1,15 @@
using Microsoft.AspNetCore.Mvc;
namespace Examples.Controllers;
[ApiController]
[Route("/api/v1/test")]
public class TestDefaultController : ControllerBase
{
[HttpGet]
public async Task<IActionResult> TestController([FromBody] string TextTest)
{
return Ok("Test");
}
}