Replies: 1 comment 3 replies
-
@chrisradek, @wanlwanl, do we have an issue on this for openapi3 emitter? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We're using TypeSpec to define a web API. One of the requirements is to add a larger enum to that API. My first, naive approach was the following:
Now, this code translates into the following using
tsp compile
andjava -jar openapi-generator-cli-7.8.0.jar generate
:This gets converted into the following c# class:
As you can see, no names, no comments, just some weird and useless randomly generated enum members with random numbers. Is there a way to use the generate a proper enum description with TypeSpec?
Beta Was this translation helpful? Give feedback.
All reactions