-
Notifications
You must be signed in to change notification settings - Fork 6k
Open
Description
Description
The cross-language consisteny of templates is currently not ensured, leading to low quality over time as features are implemented and not maintained over all languages immediately.
Swagger-codegen version
2.2.3-SNAPSHOT
Related issues
Discussion started in issue #4386
Suggest a Fix
I suggest two ways to go:
a) Use centralized template snippets (mustache lambdas)
b) Ensure consistency by adding Unittests which will track snippets across all languages with opt-out decision. Opt-outs have to be explained in the unittest/template.
IMHO a) would be easier to do as we have only one place to maintain.
b) allows better tracking of changes and is maybe better by not forcing immediate updates cross-languages.
Metadata
Metadata
Assignees
Labels
No labels