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 a CLI option for selecting the naming strategy #708

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

czechboy0
Copy link
Contributor

Motivation

The recently introduced naming strategy is only configurable in the config file, but pure CLI users might also want to use it without creating a config file.

Modifications

Add a --naming-strategy option to the swift-openapi-generator CLI.

Result

Users can use the new naming strategy without creating a config file, if they didn't have one before.

Test Plan

Tested manually on a sample project.

@czechboy0 czechboy0 added the 🆕 semver/minor Adds new public API. label Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🆕 semver/minor Adds new public API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant