Skip to content

Add Support for ClientOptions Decorator #9796

@jorgerangel-msft

Description

@jorgerangel-msft

We should add support in the emitter for the clientOptions decorator. We should start off with supporting this decorator on these types: https://azure.github.io/typespec-azure/docs/howtos/generate-client-libraries/12clientoptions/#overview and use the helper method described in the doc to parse the options. In addition, we should update the corresponding InputTypes and serialization code to handle deserializing this metadata.

Metadata

Metadata

Labels

emitter:client:csharpIssue for the C# client emitter: @typespec/http-client-csharp

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions