- Issue created by @utkarsh_33
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Just follow the example set in 📌 Personalization Segment internal HTTP API integration Postponed last week 😊🙏
Let's fix this in 🐛 External AI Chatbot Functionality Active itself.
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Actually, repurposing this to solve the general problem, since that's not specific to the (upcoming) AI submodule.
See https://techdocs.studio/blog/how-to-split-open-api-spec-into-multiple-files for an example.
I expect:
/openapi.yml
to continue to exist, but for it to use$ref
to include other files/modules/xb_personalization/openapi.yml
to be added/modules/xb_ai/openapi.yml
to be added (original scope of this issue)
That would solve the "submodules add API routes" problem.
Bonus points: splitting
/openapi.yml
into:/openapi.config.yml
(forexperience_builder.api.config.*
routes)/openapi.content.yml
(forexperience_builder.api.content.*
routes)/openapi.app.yml
(for all otherexperience_builder.api.*
routes)/openapi.drupal.yml
(for all otherexperience_builder.*
routes)