Azure / Azure/azure-sdk-for-java

[FEATURE REQ] Support TypeSpec code generation for v2 libraries in CI

Open
#46,214 1 comment 0 reactions 1 assignee Assigned to @weidongxu-microsoft View on GitHub
Azure.Core.V2 Client clientcore KeyVault
Dominant language
Java
Stars
2.6k
Forks
2.2k
Avg merge
2d 8h
Merged PRs (30d)
178

Description

**Is your feature request related to a problem? Please describe.**

Currently, we don't support generating v2 libraries in CI because of 2 things:
- The latest publicly available version of TypeSpec does not support the `azurev2` flavor
- TSP configuration between v1 and v2 libraries is different from one another and we don't currently have a way to tell the code generator to pick a specific file (it defaults to `client.tsp`).

**Describe the solution you'd like**
A way to tell the TypeSpec code generator which file to use for client generation once v2 is publicly supported.

**Describe alternatives you've considered**
Skipping code generation in CI.

**Additional context**
N/A

**Information Checklist**
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
- [x] Description Added
- [x] Expected solution specified

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.