Bruce Johnston
Bruce Johnston
Further to this, if you mark the derived class properties as `required` in the Swagger spec, AutoRest does not emit non-defaulted parameters for those properties in the constructor. It does...
I'm going to try to fix this.
I'm going to try to fix this.
@matthchr says the right place to fix this is probably AddParameterGroups in https://github.com/Azure/autorest/blob/master/AutoRest/Generators/Azure.Common/Azure.Common/AzureCodeGenerator.cs
This PR should fix this issue: https://github.com/Azure/autorest/pull/464 I'll validate it when I get a chance.
Confirmed that this is now fixed.
You can control this by modifying the responses in your Swagger spec. For example: ``` "responses": { "200": { "description": "", "schema": { "$ref": "#/definitions/DataSource" } }, "201": { "description":...
:+1: That definitely makes sense on a parameter... Plus it automatically implies that the parameter doesn't need to be exposed in the method signature. Not sure if it would be...
@stankovski Data plane APIs like Azure Search that can store and retrieve date/time data with full time zone information. This saves clients from having to remember to normalize all DateTimes...