Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config parameter to add suffix to contract types #193

Open
naaeef opened this issue Oct 13, 2023 · 3 comments
Open

Config parameter to add suffix to contract types #193

naaeef opened this issue Oct 13, 2023 · 3 comments
Assignees
Labels
enhancement New feature, bug fix, or request

Comments

@naaeef
Copy link

naaeef commented Oct 13, 2023

Is your feature request related to a problem? Please describe.
To match our existing coding conventions and to increase code readability, it would be great to have a config parameter that allows to set a suffix to the generated contract types (like Dto --> PetDto).

Additional context
Thank you for your help.

@naaeef naaeef added the enhancement New feature, bug fix, or request label Oct 13, 2023
@christianhelle
Copy link
Owner

@naaeef thanks for taking the time to suggest this

Let me think about this one. It's not exactly hard to implement but I like that the generated types are as defined in the OpenAPI document

@christianhelle
Copy link
Owner

@all-contributors please add @naaeef for ideas

@allcontributors
Copy link
Contributor

@christianhelle

I've put up a pull request to add @naaeef! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature, bug fix, or request
Projects
None yet
Development

No branches or pull requests

2 participants