Einstein AI gateway Wires are based on Salesforce API Platfrom(SFAP) and not Connect API. Steps to get RAML for api.raml file
- Go to Mulesoft Anypoint Exchange
- Search for "EinsteinGPT Foundations LLM Gateway APIs" and click on the item.
- Click on Download button on the page and download "As RAML"
- Mulesoft Generated RAML is not compatible with luvio. Handrolled lots of changes. Please cherry pick the changes, don't copy/paste.
- As part of addressing the SFAP header issue(W-14663142), we are overriding the createResourceRequest to support the default value for
xSfdcAppContext
header. - Once this is addressed with correct fix, please rollback.
- Steps followed to override is listed here.
https://bookish-sniffle-l8vm2yq.pages.github.io/#/how-to/override-generated-code