Rico Suter
Rico Suter
Have you tried the new AspNetCoreToSwaggerGenerator (i.e. UseSwaggerUiWithApiExplorer()), I think this generator processes the [Consumes] attributes and adds more produces mime types?
https://github.com/RSuter/NSwag/blob/master/src/NSwag.Sample.NETCore21/Startup.cs#L39
This is a serious bug i’d say.
AlwaysAllowAdditionalObjectProperties Is for the schema generator - and the schema is correct i’d say. The problem is the code generator: it should not generate the property if it already exists...
But yes, if you have the option to disable AlwaysAllowAdditionalObjectProperties it might fix it, but not fix the root cause.
I’m also interested in this. @pdugas can you put your original code here as a PR so we have something to start from?
This is not restore but add a package
I’d propose a `dnt restore` command
Maybe we just add this to the `dnt clean` command?
Only the PCL "MyToolkit" package supports Xamarin, but "MyToolkit.Extended" doesn't. What features do you need in Xamarin which are missing?