Skip to content

Support for transforming lowerCamel operation IDs to kebab-case#31

Open
acgray wants to merge 2 commits intodanielgtaylor:masterfrom
acgray:case-format
Open

Support for transforming lowerCamel operation IDs to kebab-case#31
acgray wants to merge 2 commits intodanielgtaylor:masterfrom
acgray:case-format

Conversation

@acgray
Copy link

@acgray acgray commented Jan 29, 2020

Updated generator to transform lowerCamelCase operation names into idiomatic CLI kebab-case. This is useful for processing specs auto-generated from Spr**g MVC services.

(I have added a test but unsure if main_test.go is the right place - exporting Slug() in main.go feels icky but it also seems too small to add a new module. Please feel free to change as you like)

@acgray acgray changed the title Case format Support for transforming lowerCamel operation IDs to kebab-case Jan 30, 2020
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

Successfully merging this pull request may close these issues.

1 participant