Get wrong class name from example
- Dominant language
- TypeScript
- Stars
- 8
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
```
"swagger": "2.0",
"info": {
"title": "Microsoft Storage Sync",
"description": "Microsoft Storage Sync Service API",
"version": "2019-06-01",
"x-ms-code-generation-settings": {
"name": "StorageSyncManagementClient"
}
```
the info.title should be `StorageSyncManagementClient` then generated tests will be right.
Also the generated testcase name will be
`MgmtMicrosoftStorageSyncTest`, not just `MgmtStorageSyncTest`.
And when create client it will import wrong path form `azure.mgmt.storagesync.MicrosoftStorageSync`.
we can fix it using `x-ms-code-generation-settings` in autorest.cli
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.