added description
This commit is contained in:
parent
9747a06804
commit
51e4bae990
28
README.md
28
README.md
@ -2,6 +2,34 @@
|
||||
|
||||
A Swift package for merging multiple YAML files from subdirectories into a single combined file.
|
||||
|
||||
## 🏗️ Architecture Overview
|
||||
|
||||
┌─────────────────────-┐ ┌──────────────────┐ ┌─────────────────────┐
|
||||
│ Schema YAML Files │───▶ │ YAMLMerger │───▶ │ Combined OpenAPI │
|
||||
│ (Organized by Type & │ │ (Test Runner) │ │ Specification │
|
||||
│ Function) │ │ │ │ (CombinedSpec.yaml) │
|
||||
└─────────────────────-┘ └──────────────────┘ └─────────────────────┘
|
||||
│
|
||||
▼
|
||||
┌─────────────────────┐
|
||||
│ Manual Copy Step │
|
||||
│ (Human Action) │
|
||||
└─────────────────────┘
|
||||
│
|
||||
▼
|
||||
┌─────────────────────┐ ┌──────────────────┐ ┌─────────────────────┐
|
||||
│ Generated Swift │◀─── │ Swift OpenAPI │◀─── │ SharedApiModels │
|
||||
│ Client & Server │ │ Generator │ │ openapi.yaml │
|
||||
│ Code │ │ │ │ │
|
||||
└─────────────────────┘ └──────────────────┘ └─────────────────────┘
|
||||
│
|
||||
▼
|
||||
┌─────────────────────┐
|
||||
│ ApiClient & │
|
||||
│ ApiServer │
|
||||
│ Packages │
|
||||
└─────────────────────┘
|
||||
|
||||
## How It Works
|
||||
|
||||
YAMLMerger recursively scans subdirectories for YAML files and merges them in a predictable order:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user