CarterCommunity / Carter

Carter is framework that is a thin layer of extension methods and functionality over ASP.NET Core allowing code to be more explicit and most importantly more enjoyable.
MIT License
2.08k stars 175 forks source link

Fixed default json handling #159

Closed JoeStead closed 5 years ago

JoeStead commented 5 years ago

Fixes #155

Also a change that affects #151

jchannon commented 5 years ago

Will take a look. This willl effect the OpenApi stuff so will take a look. Probably need to add some tests in the sample.trsts folder to check we get back certain json

JoeStead commented 5 years ago

Tests are a bit of a pain, because defaults in C# are defaults, so it will always behave correctly when C# is the client. You'll have to inspect the json in string form