swagger-api/swagger-codegen

[Python] improving "packageName" and "projectName" in CLI options

Open

#5.840 geöffnet am 13. Juni 2017

Auf GitHub ansehen
 (2 Kommentare) (1 Reaktion) (0 zugewiesene Personen)HTML (5.474 Forks)batch import
Client: PythonGeneral: Suggestionhelp wanted

Repository-Metriken

Stars
 (12.701 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Description

Here is the suggestion by @frol

Semantically, projectName should be the "most important" configuration, which would be used to generate packageName (meaning that it is the other way around than it is implemented now), BUT given the fact that packageName was introduced earlier, it makes sense to have this backward packageName to projectName generation. Can both projectName -> packageName and packageName -> projectName autogenerations be implemented? Does this make sense to you?

Swagger-codegen version

Latest master

Related issues

https://github.com/swagger-api/swagger-codegen/pull/5836``

Suggest a Fix

If anyone has feedback or wants to work on this enhancement, please reply to let us know.

Contributor Guide