Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate swagger to TypeSpec for brownfield service #1850

Open
2 of 27 tasks
pshao25 opened this issue Nov 12, 2024 · 0 comments
Open
2 of 27 tasks

Migrate swagger to TypeSpec for brownfield service #1850

pshao25 opened this issue Nov 12, 2024 · 0 comments

Comments

@pshao25
Copy link
Member

pshao25 commented Nov 12, 2024

Exit Criterion

Long term

  1. Functional equivalent TypeSpec
  2. Functional equivalent SDK from TypeSpec without breaking change

Short term

  1. Functional equivalent TypeSpec
  2. Functional equivalent SDK from swagger generated from TypeSpec without breaking change

TypeSpec feature gap for Compute

Compute is where our current effort is, which has high priority.

Tasks

  1. needs-area needs-info
    allenjzhang pshao25
  2. design:needed external:mgmt external:swagger-converter lib:azure-resource-manager
  3. needs-area
    markcowl
  4. feature lib:azure-core
  5. needs-area
    markcowl pshao25
  6. design:accepted lib:azure-resource-manager
    AlitzelMendez
  7. needs-area
  8. lib:tcgc
    tadelesh
  9. needs-area
    markcowl
  10. needs-area
    allenjzhang
  11. design:needed lib:azure-resource-manager

SDK diff

Tasks

  1. Client Compute Mgmt - Track 2 needs-team-attention
    XiaofeiCao
  2. Compute Mgmt needs-team-attention
    msyyc
  3. Compute Mgmt needs-team-attention
    kazrael2119 qiaozha

Diff tool gap

Though they are all tool issues, it is important to fix with high priority. Because without these, it is difficult for us to tell whether the conversion is correct.

Tasks

  1. needs-area
    pshao25
  2. needs-area
    markcowl pshao25

TypeSpec feature gap for others

Tasks

  1. design:needed lib:azure-resource-manager
  2. design:needed lib:azure-resource-manager triaged:core
  3. docs lib:azure-core lib:azure-resource-manager
  4. lib:tcgc

SDK feature gap

.net

Tasks

  1. 0 of 2
  2. 0 of 1

Tool gap

For compute, we are now converting manually. But all these efforts should be integrated into converter so that following services could do automatically. What's more, the tsp-client sort-swagger and tsp-client compare should be improved as well.

Tasks

  1. openapi-to-tsp
  2. openapi-to-tsp
  3. openapi-to-tsp
  4. openapi-to-tsp
  5. openapi-to-tsp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants