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

Add setting to generate nullable value types for optional request body properties (Refitter) #762

Open
MSulsters opened this issue Jan 13, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@MSulsters
Copy link

It's often a problem that value types are not nullable in the request body, but the destination API expects them to be null, depending business rules.

Add a setting to make it possible to generate nullable value types for optional request body properties (Refitter)

To prevent I have to update those fields manually every time a re-generation of the code (i.e.. after a change of the destination API) is needed.

@christianhelle christianhelle self-assigned this Jan 13, 2024
@christianhelle christianhelle added the enhancement New feature or request label Jan 14, 2024
@christianhelle
Copy link
Owner

Thanks for taking the time to report this @MSulsters

This should be possible. I'll see if I can do it directly using the currently available options for Refitter, otherwise I'll have to implement it in Refitter first then update this tool afterwards

@MSulsters
Copy link
Author

Thnx a lot for the feedback.

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

No branches or pull requests

2 participants