Open SebastianStehle opened 7 years ago
You can already use [SwaggerResponse(201, typeof(...), Description = "foobar")]
I know, for some status codes there might be a lot of reasons, e.g. 400, therefore I would like to have multiple lines. And also do not like to have my descriptions spread acrosss attributes and comments.
Can we close this: https://github.com/NSwag/NSwag/issues/442 and discuss here?
To implement your features, we need to enhance: https://github.com/NJsonSchema/NJsonSchema/blob/master/src/NJsonSchema/Infrastructure/XmlDocumentationExtensions.cs
We can, but I think #442 is a bug, because you cannot write correct markdown code at the moment. This task is more a feature request.
With https://github.com/NJsonSchema/NJsonSchema/commit/570e8b4c08364953be9b4681a48320687e074558 it is possible to do 1.
2.: The question is: What response types should be used when the responses are only defined in xml doc?
Hi,
I moved from SwaggerUI to Redoc because i have much space for the description and there is a lot to document.
Therefore I also like to use xml comments, because it is easier to add markup there.
I am missing xml comments in two places:
Usually I have a Tag = Controller model, it would be awesome to make something:
I Would like to have the swashbuckle solution:
As a workaround I implemented a processor that parses the result
But it cannot handle multiline yet.
What do you think?