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

Flexible property name serialization from OpenAPI documents #97

Open
niels-nijens opened this issue Jun 7, 2024 · 0 comments
Open

Flexible property name serialization from OpenAPI documents #97

niels-nijens opened this issue Jun 7, 2024 · 0 comments
Milestone

Comments

@niels-nijens
Copy link
Member

Introduce a feature that enables a property to have a different serialized name in the OpenAPI definition compared to its actual name in the object. This feature would allow for greater flexibility and clarity in API design, making it possible to maintain consistent naming conventions within the codebase while presenting a more user-friendly or standardized naming scheme in the API documentation. For example, an object property named userId in the code could be serialized as user_identifier in the JSON response, aligning with different naming conventions or preferences.

@niels-nijens niels-nijens added this to the 2.2 milestone Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant