KevinDockx / JsonPatch

JSON Patch (JsonPatchDocument) RFC 6902 implementation for .NET
MIT License
174 stars 28 forks source link

What's the recommended way to specify a JsonPatchDocument in swagger? #71

Closed paulomorgado closed 7 years ago

leemicw commented 7 years ago

@paulomorgado if you are using Swashbuckle to generate the the Swagger JSON from your classes you can use the same solution we did.

http://michaelware.net/2017/06/17/Using-Marvin-JsonPatch-and-Swashbuckle-to-Generate-Swagger-Documents/

disclaimer, that's my blog.

paulomorgado commented 7 years ago

Thanks!

KevinDockx commented 7 years ago

Thanks for this, closing issue :)