paulovila

Results 13 comments of paulovila

Thanks for the quick reply, the exception is occurring in ```csharp throw new SwaggerException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_,...

The service **is returning data** when called from the Swagger web page, I'm afraid it fails when some of the details gets deserialised. ## Ok ```xml ``` ## No content...

Sorry I didn't phase it properly, the client is WPF4.7 (where the exception is happening), and the server is netcoreapp3.1. I'll have to check again the parameters, I remember that...

@jeremyVignelles I can confirm, from the swagger web page it works ok: ![image](https://user-images.githubusercontent.com/888391/89994243-c1498680-dc7f-11ea-9e0f-ea0b0dc2d57d.png) but from WPF it is failing, the request is sent, and the server responds properly. But the...

in the **Responses** there is a **200**, that was the value that was evaluated before (the 204 is related to the **headers**, not to the **content**). What do you mean...

I see, the ```ProducesResponseType``` attribute is for the controller, which I have added, but I'm using an msbuild task to produce the client ```xml ``` how do I set that...

Ok, I'm starting to see what is happening, I'm defining the ```ProducesResponseType``` at a **base class level** which apparently doesn't work. ```csharp public class AssetController : AuthoriseController { [HttpGet] public...

Thanks Jeremy, I've created a PR showcasing the situation https://github.com/jeremyVignelles/TestNSwagNetCoreApp/pull/1

@RicoSuter, @jeremyVignelles I'd suggest to unlist that package version from nuget, in order to avoid the error spreading across to other users.

Would it be possible to define at a **base class level** an attribute with the desired behaviour for all the methods in the inherited classes ?