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
[SwaggerWcfResponse(HttpStatusCode.OK, typeof(ClassA)] [SwaggerWcfResponse(HttpStatusCode.BadRequest, typeof(ClassB)]
Is something similar possible?
The text was updated successfully, but these errors were encountered:
Sure
New release with option for:
[SwaggerWcfResponse(HttpStatusCode.OK, "Books found, values in the response body", responseTypeOverride: typeof(Book))] [SwaggerWcfResponse(HttpStatusCode.NotFound, "Book not found", false, responseTypeOverride: typeof(Book[]))]
Please note that parameter emptyResponseOverride will have higher priority
Sorry, something went wrong.
Thanks a lot, just tried it and it works exactly as expected 👍
No branches or pull requests
Is something similar possible?
The text was updated successfully, but these errors were encountered: