You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@joheredi I tried this and autorest is complaining that it is not able to find it. So, I used --use command to pint to local build. Here, I am getting the following error:
src/generated/data/models/index.ts:795:18 - error TS2430: Interface 'DocumentsAutocompleteGetOptionalParams' incorrectly extends interface 'OperationOptions'.
Types of property 'requestOptions' are incompatible.
Type 'RequestOptions | undefined' is not assignable to type 'OperationRequestOptions | undefined'.
Type 'RequestOptions' has no properties in common with type 'OperationRequestOptions'.
795 export interface DocumentsAutocompleteGetOptionalParams
Here, DocumentsAutocompleteGetOptionalParams is defined as:
This issue tracks the work to re-generate the sawgger using the latest version of @autorest/typescript
In order to use the new generator 2 changes need to be done in swagger/readme.md files
Note
The latest
@autorest/typescript
version can be found hereThe text was updated successfully, but these errors were encountered: