Ajout d’un système de configuration flexible et refonte de la documentation pour o2ts #7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Cette PR apporte deux améliorations majeures à l'outil o2ts
1. Système de configuration
Ajout d'un système complet permettant aux utilisateurs de configurer l'outil via :
.o2tsrc.jsonà la racine du projeto2tsdans lepackage.jsonLes options de configuration incluent :
(
semi,tabWidth,singleQuote,trailingComma)(
typePrefix,includeExamples,includeRequestBodies,includeResponses)2. Documentation enrichie
Refonte complète du
README.mdavec :Modifications techniques
config.tspour gérer le chargement des configurationsSchemaParserpour accepter des options personnaliséesTests et rétrocompatibilité
Answer from Perplexity: pplx.ai/share