Skip to content

Problems with long generated OpenAPI names and QRM #420

Answered by houten11
Napam asked this question in Q&A
Discussion options

You must be logged in to vote

Type aliasing does not work, as the aliasing won't change the name when doing reflections, e.g.
type Listing GetListingsId200JSONResponse does not have the name Listing during reflection.

This should work, reflect.Type.Name() should return Listing.

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
@Napam
Comment options

Answer selected by Napam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants