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

Kompendium does not respect naming strategy #653

Open
oSumAtrIX opened this issue Nov 5, 2024 · 1 comment
Open

Kompendium does not respect naming strategy #653

oSumAtrIX opened this issue Nov 5, 2024 · 1 comment

Comments

@oSumAtrIX
Copy link

oSumAtrIX commented Nov 5, 2024

I do not know if the issue is something Kompendium can solve, but here is an outline of the issue:

For the Json serializer a naming strategy can be specified:

image

This allows the serialization and deserialization of keys in different casing. For example the schema

image

would serialize to

image

Though, Kompendium generates this spec without applying the naming strategy:

image

@brizzbuzz
Copy link
Contributor

interesting, i had no idea that kotlinx serialization supported across the board naming strategies.

definitely a feature we should implement. thanks for reporting!

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

No branches or pull requests

2 participants