amzn / smoke-framework

A light-weight server-side service framework written in the Swift programming language.
Apache License 2.0
1.45k stars 41 forks source link

how to return custom status code like for ex. 201 - Created? #117

Open funcmike opened 1 year ago

funcmike commented 1 year ago

Hi, I can't find It anywhere in docs or examples. Tests in framework always asserts for 200 or errors.

ps. Thanks for great work on project!

tachyonics commented 1 year ago

Hi funcmike,

I'm not sure if its actually straight forward in version 2. I will need to look deeper. I am making sure it is accounting for in the design for the upcoming version 3.