Azure / Azure/azure-rest-api-specs
[DevCenter] Convenient API turned off for create dev box operation
- 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
Assessment
This issue has not been assessed yet.