Azure / Azure/azure-rest-api-specs

[DevCenter] Convenient API turned off for create dev box operation

Open
#28,083 0 comments 0 reactions 1 assignee Claimed by @drielenr View on GitHub
question
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
3d 2h
Merged PRs (30d)
424

Description

### API Spec link

https://github.com/Azure/azure-rest-api-specs/tree/feature/devcenter-tsp/specification/devcenter/DevCenter

### API Spec version

2023-04-01

### Question/Query

The convenient api for `createDevBox` operation generates the method `CreateDevbox(projectName, userid, devBoxName, DevBox devbox)`. However DevBox model has a property 'name', so architects have requested to have the method as `CreateDevbox(projectName, userid, DevBox devbox)`, adding name as a required property in DevBox constructor. To allow this, we have turned the convenientApi to false in typespec, and added the customization to the generated sdk.

### Environment

_No response_

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.