Skip to content

[design discussion] azure-core support for optional path parameter #44956

Open
@weidongxu-microsoft

Description

@weidongxu-microsoft

playground

TCGC output

          kind: http
          path: /optional{name}
          uriTemplate: /optional{/name}
          verb: get

The current RestProxy annotations cannot support such. Whichever template it takes (/optional{name} or /optional/{name} or even /optional{/name}), it likely has to adjust the slash leading / based on whether the path parameter is null or non-null.

Metadata

Metadata

Assignees

Labels

Azure.Coreazure-coreClientThis issue points to a problem in the data-plane of the library.CodeGenIssues that relate to code generation

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions