neuecc / LightNode

Micro RPC/REST Framework built on OWIN
http://neuecc.github.io/LightNode
MIT License
181 stars 32 forks source link

Fix InvalidOperationException of swagger middleware #60

Closed itn3000 closed 8 years ago

itn3000 commented 8 years ago

InvalidOperationException was caused in Swagger middleware because status code and content-type were set after setting response body,

neuecc commented 8 years ago

Thank you. yes, I've forgot fix...

neuecc commented 8 years ago

I've pushed 2.0.1 to NuGet.