Replies: 1 comment
-
I might consider adding this feature as an option. Or did you change your mind about it since? @Kavorka79 |
Beta Was this translation helpful? Give feedback.
0 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.
-
Hi,
We are migrating from openapi-typescript-codegen . I have found it hard to use because of the renaming or remapping of types. e.g.
export type GetApiTrackCollectionsPlaylistsByPlaylistIdResponse = PlaylistResponse;
Used by service function
I think this takes you away from the domain types and forces you to learn all the types by the service function name. I would much rather receive the PlaylistResponse in the code rather than GetApiTrackCollectionsPlaylistsByPlaylistIdResponse since that is somewhat confusing.
Same for query options that before were in the format.
but now are remapped to:
It not relevant to know if some thing is passed as a path or query in the domain code using the service function I think. Sure you could use the same name for a path and query parameter but that I think would be on the api builder. Could be solved by adding a prefix if so.
Beta Was this translation helpful? Give feedback.
All reactions