Bundling combines a multifile OpenAPI definition into one document by resolving references from other files or URLs and consolidating them as internal references. It helps tools that do not support external references consume the definition. section 8.13.2
Use bundling as an automated API-artifact transformation:
- Keep the source definition modular, then generate a bundled artifact during the CI/CD build or deployment pipeline. section 9.1
- Treat bundling as distinct from merging: bundling combines one multifile definition, while merging joins multiple standalone definitions. section 9.1
- Publish the generated artifact for external consumers, developer portals, SDK generation, or later pipeline stages through an API registry or artifact store. section 9.1
cd apis/product-catalog-api redocly bundle openapi.yaml --output bundled.yaml
Generate bundled.yaml from the product-catalog-api source definition with Redocly CLI. section 8.13.2







