swagger-api/swagger-codegen

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

Aperta

#5840 aperta il 13 giu 2017

 (2 commenti) (1 reazione) (0 assegnatari)HTML (5474 fork)batch import
Client: PythonGeneral: Suggestionhelp wanted

Metriche repository

Star
 (12.701 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor