Skip to content

Commit 5d61feb

Browse files
committed
FilesController comments
1 parent adfba8a commit 5d61feb

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

  • ProjectTemplates/AspNetCore.WebApi/ReferenceProject/ReferenceProject/Controllers

ProjectTemplates/AspNetCore.WebApi/ReferenceProject/ReferenceProject/Controllers/FilesController.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ namespace ReferenceProject.Controllers
1111
[ApiController]
1212
public class FilesController: ControllerBase
1313
{
14+
/// <summary>
15+
/// Upload a file
16+
/// </summary>
17+
/// <remarks>
18+
/// Play around with file size. Try to upload a file more 1048576 bytes length
19+
/// </remarks>
20+
/// <param name="file">A file to upload</param>
1421
[HttpPost]
1522
[Route("upload")]
1623
[RequestSizeLimit(1048576)]

0 commit comments

Comments
 (0)