Azure / Azure/azure-rest-api-specs

Datalake: showonly=delete is missing from listBlobHierarchySegment request

Open
#41,767 0 comments 0 reactions 1 assignee Claimed by @jeremymeng View on GitHub
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

It is included in recording.

Looking at the code, the `listBlobHierarchySegment` is only ever used to list deleted paths in `listDeletedPathsSegment` so maybe swagger is written in that way to use the default value of "deleted". Do we want to make similar changes in typespec?

```json
"ListBlobsShowOnly": {
"name": "showonly",
"in": "query",
"required": false,
"type": "string",
"enum": [
"deleted"
],
"x-ms-enum": {
"name": "ListBlobsShowOnly",
"modelAsString": false
},
"x-ms-parameter-location": "method",
"description": "Include this parameter to specify one or more datasets to include in the response."
},
```
I am working around it in convenience layer by passing "deleted" to generated layer.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.