unchase / Unchase.Swashbuckle.AspNetCore.Extensions

:hammer: A library contains a bunch of extensions (filters) for Swashbuckle.AspNetCore.
https://www.nuget.org/packages/Unchase.Swashbuckle.AspNetCore.Extensions
Apache License 2.0
115 stars 16 forks source link

NRE for FromQuery fixed #4

Closed OlegShatin closed 4 years ago

OlegShatin commented 4 years ago

Faced with NRE on Apply when some class passes as FromQuery param in controller action. Fixed.

//controller
[HttpGet]
public IActionResult TestAction([FromQuery]SomeClass some)
 { return Ok(); }
...
//class
public class SomeClass
{  public string Value { get; set; } }