Skip to content

How does NSwag decide to return an object when an exception occurs? #5112

Closed Answered by Mingism
Mingism asked this question in Q&A
Discussion options

You must be logged in to vote

Found it just as I finished opening the question. It is due to the possible return types of my API where I had a BadRequest. After removing this, it returned the proper result

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Mingism
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant