Skip to content

Commit

Permalink
Added permissions & resourcetype parameters in listblob response (Azu…
Browse files Browse the repository at this point in the history
…re#23687)

* one

* Add permissions in ListBlobsIncludeItems

* Add permissions in ListBlobsIncludeItems

* Appending the value to swagger

* Added Owner,Group,Permissions,Acl,ResourceType in ListBlob Response
  • Loading branch information
ashruti-msft authored Nov 13, 2024
1 parent f9b03ff commit cb9b6cb
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
24 changes: 24 additions & 0 deletions sdk/storage/azblob/internal/generated/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,30 @@ export-clients: true
use: "@autorest/go@4.0.0-preview.65"
```
### Add Owner,Group,Permissions,Acl,ResourceType in ListBlob Response
``` yaml
directive:
- from: swagger-document
where: $.definitions
transform: >
$.BlobPropertiesInternal.properties["Owner"] = {
"type" : "string",
};
$.BlobPropertiesInternal.properties["Group"] = {
"type" : "string",
};
$.BlobPropertiesInternal.properties["Permissions"] = {
"type" : "string",
};
$.BlobPropertiesInternal.properties["Acl"] = {
"type" : "string",
};
$.BlobPropertiesInternal.properties["ResourceType"] = {
"type" : "string",
};
```
### Add permissions in ListBlobsInclude
``` yaml
directive:
Expand Down
5 changes: 5 additions & 0 deletions sdk/storage/azblob/internal/generated/zz_models.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cb9b6cb

Please sign in to comment.