Skip to content

Control of generated operationId name for operations #4361

Discussion options

You must be logged in to vote

You can use @operationId to be explicit about this value
https://typespec.io/playground?c=aW1wb3J0ICJAdHlwZXNwZWMvb3BlbmFwaSI7Cgp1c2luZyBPcGVuQVBJOwoKCkBvcGVyYXRpb25JZCgiTXkgb3AgaWQiKQpvcCB0ZXN0KCk6IHZvaWQ7&e=%40typespec%2Fopenapi3&options=%7B%7D

I don't know if I have would have expected operationId to be used as a display name.
Does openapi summary property not get picked up here?

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Devon-White
Comment options

Answer selected by Devon-White
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants