S
S
Saharman2018-12-18 18:32:19
API
Saharman, 2018-12-18 18:32:19

How to solve API info display issue with swagger?

In general, I added swagger to my project, and everything seemed to work fine, but when I added [FromBody] in the controller parameters, swagger refused to work with such an API. How can this be resolved?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Victor P., 2018-12-27
@Jeer

Works for me with [FromBody].
Here xs even than to help. Post the code, how you connected it, project type/version, swagger version, what errors does it give? Is it really the case in this attribute, maybe something else?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question