Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Openapi2beans needs to handle kebab-case variables in the yaml #71

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

techcobweb
Copy link
Contributor

@techcobweb techcobweb commented Oct 17, 2024

Signed-off-by: Mike Cobbett [email protected]

Why ?

kebab-case is something we want in our rest api for property names.

The openapi2beans tool can handle underscore-separated variables fine, we just need it to do the same thing for dash-separated variables.

eg: my-string-var should be handled the same was as my_string_var is today.

Copy link

@aashir21 aashir21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

@techcobweb techcobweb merged commit e1fd7e2 into main Oct 17, 2024
6 checks passed
@techcobweb techcobweb deleted the mcobbett-bean-generator-handle-kebab-case branch November 13, 2024 14:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants