Skip to content

How to set the 'api-version' option for multi-service package in tspconfig.yaml #4009

@JialinHuang803

Description

@JialinHuang803

Currently tspconfig.yaml allows an api-version option as a string, which is also used in multi-service scenarios and leads to problems in the generated code. Should we enable setting multiple api-versions here, or should we disable this field when dealing with multiple services?

If we decide to support this option for multiple services, does it function the same way as useDependency in client.tsp?

Metadata

Metadata

Assignees

Labels

lib:tcgcIssues for @azure-tools/typespec-client-generator-core library

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions