How to suppress operationId from openapi output? #3076
-
My original openapi yaml doesn't use operationId, and populating it causes various downstream SDK generators to change their behavior, by changing the method name from whatever they default to, to what is now provided by TypeSpec. I would like to suppress the emission of it from the output, but I'm not sure how. Expected output:
Actual output:
I have also tried using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I do not think it is possible, this is the first time we are getting ask this. We could consider adding this as an emitter option, can you file a feature request. But for know I think you have to use the workaround you described name the operations in typespec directly with the names you would have had in your generated client. |
Beta Was this translation helpful? Give feedback.
I do not think it is possible, this is the first time we are getting ask this. We could consider adding this as an emitter option, can you file a feature request.
Do you have cases where you include the operation id or never?
But for know I think you have to use the workaround you described name the operations in typespec directly with the names you would have had in your generated client.