We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
POSTs that return a 201 Created can return a model, and the operation compiler should be updated to allow for that.
Please provide the steps required to reproduce the problem
Using this swagger, the ThingGetThing POST operation returns unit
The operation should return Thing.GetModel
Unit :(
Change the response code to 200
SwaggerProvider 0.5.1
The text was updated successfully, but these errors were encountered:
I'll see if I can send a PR in for this after doing a bit of research around response codes that return a successful model
Sorry, something went wrong.
Released in 0.5.2
No branches or pull requests
Description
POSTs that return a 201 Created can return a model, and the operation compiler should be updated to allow for that.
Repro steps
Please provide the steps required to reproduce the problem
Using this swagger, the ThingGetThing POST operation returns unit
Expected behavior
The operation should return Thing.GetModel
Actual behavior
Unit :(
Known workarounds
Change the response code to 200
Related information
SwaggerProvider 0.5.1
The text was updated successfully, but these errors were encountered: