Skip to content

Commit

Permalink
Specifying shipping address required property to autorest. (Azure#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 and giromm2ms committed Dec 20, 2020
1 parent 88abd62 commit 0a0f5c7
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 0a0f5c7

Please sign in to comment.