Hi,

i'm using asp.net core for my Web-api's. 
I have swagger installed and configured. Everything works fin until I add 
the following prototype: 

    [HttpPost]
        public IActionResult Addall([FromBody] List<Account_group> items)
        {
            
            if (items == null)
            {
                return BadRequest();
            }
            account_groupRepository.Addall(items);
            return Content("Converted");

        }

The trick is the list.
Chaging it to Account_group[] items 
does not work either. 

Any help would be apriciated.

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to