Skip to content

Commit

Permalink
Specifying shipping address required property to autorest. (#11717)
Browse files Browse the repository at this point in the history
* Ensuring autorest generation follow specific order of required properties in shippingAddress

* added details  sharp yaml
  • Loading branch information
dhawal777 authored Nov 19, 2020
1 parent a16488b commit a099019
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions specification/databox/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ csharp:
payload-flattening-threshold: 2
output-folder: $(csharp-sdks-folder)/databox/Microsoft.Azure.Management.DataBox/src/Generated
clear-output-folder: true
directive:
- from: swagger-document
where: $.definitions.ShippingAddress
transform: >
$.required = [ "streetAddress1", "country", "postalCode" ];
```

## Python
Expand Down

0 comments on commit a099019

Please sign in to comment.