Image: AI generated
Jika Anda ingin menerapkan SSOT ke proyek yang sudah ada tapi tidak bisa menulis ulang dari awal, jika Anda ingin mengekstrak OpenAPI dan DDL secara otomatis dari kode legacy Go/NestJS/FastAPI — codistill memeras spesifikasi dari kode yang sudah ada.
“We already have 200 endpoints”
codist scan --openapi ./my-project
| Framework | Language | Extraction |
|---|---|---|
| Gin | Go | Routes, bindings, responses, middleware |
| NestJS | TypeScript | Decorators, DTOs, guards, interceptors |
| FastAPI | Python | Routes, Pydantic models, dependencies |
codist ddl ./migrations -o ./schema
codist sql next --repo ./repository --queries ./db/query
codist sql status
Existing code
↓ codist scan --openapi
↓ codist ddl
↓ codist sql next
OpenAPI + DDL + sqlc
↓ yongol validate
↓ yongol generate
SSOT-based codebase
npx skills add park-jun-woo/codistill
Code: github.com/park-jun-woo/codistill
Referensi
- Huang, R. et al. (2024). Generating REST API Specifications through Static Analysis. ICSE 2024. ACM
- Perry, D. E. & Wolf, A. L. (1992). Foundations for the Study of Software Architecture. ACM
- Fowler, M. (2004). StranglerFigApplication. Link
- Lercher, A. et al. (2024). Generating Accurate OpenAPI Descriptions. arXiv
- Chauhan, S. et al. (2026). OpenAI for OpenAPI. arXiv
- De Silva, L. & Balasubramaniam, D. (2012). Controlling software architecture erosion. ScienceDirect
- Fritzsch, J. et al. (2019). Microservices Migration in Industry. arXiv
- Curino, C. A. et al. (2008). Graceful database schema evolution. VLDB
- Nghiem, D. et al. (2023). REST API Design Practices. IEEE