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

ApiManagement 2018-06-01-preview #6713

Closed
mmyyrroonn opened this issue Jul 24, 2019 · 1 comment
Closed

ApiManagement 2018-06-01-preview #6713

mmyyrroonn opened this issue Jul 24, 2019 · 1 comment

Comments

@mmyyrroonn
Copy link
Contributor

There is some restriction that if you provide the x-ms-odata in the swagger file, you need support "$filter" parameter in this path.

FATAL: System.InvalidOperationException: Method 'Cache_ListByService' with x-ms-odata needs to have "$filter" parameter.
   at AutoRest.Extensions.Azure.AzureExtensions.ParseODataExtension(CodeModel codeModel) in /home/ruby/autorest.ruby/autorest.common/src/AzureExtensions.cs:line 187
   at AutoRest.Extensions.Azure.AzureExtensions.NormalizeAzureClientModel(CodeModel codeModel) in /home/ruby/autorest.ruby/autorest.common/src/AzureExtensions.cs:line 77
   at AutoRest.Ruby.Azure.TransformerRba.AutoRest.Core.ITransformer<AutoRest.Ruby.Azure.Model.CodeModelRba>.TransformCodeModel(CodeModel cs) in /home/ruby/autorest.ruby/src/azure/TransformerRba.cs:line 40
   at AutoRest.Ruby.Program.<ProcessInternal>d__4.MoveNext() in /home/ruby/autorest.ruby/src/Program.cs:line 109
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at NewPlugin.<Process>d__20.MoveNext() in /home/ruby/autorest.ruby/autorest.common/src/Plugins/NewPlugin.cs:line 163
@yungezz
Copy link
Member

yungezz commented Jul 30, 2019

fixed by referenced PR close this.

@yungezz yungezz closed this as completed Jul 30, 2019
leniatgh pushed a commit to leniatgh/azure-rest-api-specs that referenced this issue May 13, 2022
* Adds base for updating Microsoft.AzureStackHCI from version preview/2021-09-01-preview to version 2022-04-01-preview

* Updates readme

* Updates API version in new specs and examples

* - Adding new api's for marketplace integration
- Modified galleryImages to include additional props
- Adding latest changes from stable folder for arcSettings, clusters, extensions, operations

* Correcting path in readme file and adding missing examples

* using plurals in operationIds and correcting example name to avoid conflict

* Reverting changes from galleryImages json

* Removing Self-Service VM APIs

* Adding provisioningState obj to new APIs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants